mirror of
https://github.com/rivo/tview.git
synced 2024-11-05 06:00:19 +00:00
Added more colors to the text view.
This commit is contained in:
parent
aa93dab30d
commit
42fa258a5e
@ -18,6 +18,8 @@ var textColors = map[string]tcell.Color{
|
||||
"yellow": tcell.ColorYellow,
|
||||
"blue": tcell.ColorBlue,
|
||||
"green": tcell.ColorGreen,
|
||||
"cyan": tcell.ColorDarkCyan,
|
||||
"magenta": tcell.ColorDarkMagenta,
|
||||
}
|
||||
|
||||
// Regular expressions commonly used throughout the TextView class.
|
||||
@ -70,7 +72,7 @@ type textViewIndex struct {
|
||||
// This is a [red]warning[white]!
|
||||
//
|
||||
// will print the word "warning" in red. The following colors are currently
|
||||
// supported: white, yellow, blue, green, red.
|
||||
// supported: white, yellow, blue, green, red, cyan, magenta.
|
||||
//
|
||||
// Regions and Highlights
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user