aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/c_defs.go6
-rw-r--r--src/i_ui.go12
2 files changed, 13 insertions, 5 deletions
diff --git a/src/c_defs.go b/src/c_defs.go
index b2e7320..cb249e0 100644
--- a/src/c_defs.go
+++ b/src/c_defs.go
@@ -277,6 +277,7 @@ const (
COLOR_MAGENTA
COLOR_CYAN
COLOR_WHITE
+ COLOR_GRAY
COLOR_BOLD_BLACK
COLOR_BOLD_RED
COLOR_BOLD_GREEN
@@ -285,7 +286,8 @@ const (
COLOR_BOLD_MAGENTA
COLOR_BOLD_CYAN
COLOR_BOLD_WHITE
- COLORS_MAX = COLOR_BOLD_WHITE
+ COLOR_BOLD_GRAY
+ COLORS_MAX = COLOR_BOLD_GRAY
)
var COLORS = [COLORS_MAX + 1]string{
@@ -298,6 +300,7 @@ var COLORS = [COLORS_MAX + 1]string{
"magenta",
"cyan",
"white",
+ "gray",
"boldblack",
"boldred",
"boldgreen",
@@ -306,4 +309,5 @@ var COLORS = [COLORS_MAX + 1]string{
"boldmagenta",
"boldcyan",
"boldwhite",
+ "boldgray",
}
diff --git a/src/i_ui.go b/src/i_ui.go
index c639e39..21df155 100644
--- a/src/i_ui.go
+++ b/src/i_ui.go
@@ -721,7 +721,7 @@ func i_init_styles(ui *HardUI, styles HardStyle) {
case COLORS[COLOR_DEFAULT]:
ui.style[i] = tmp.Foreground(tcell.ColorReset)
case COLORS[COLOR_BLACK]:
- ui.style[i] = tmp.Foreground(tcell.ColorBlack).Dim(true)
+ ui.style[i] = tmp.Foreground(tcell.ColorBlack)
case COLORS[COLOR_RED]:
ui.style[i] = tmp.Foreground(tcell.ColorRed).Dim(true)
case COLORS[COLOR_GREEN]:
@@ -731,13 +731,15 @@ func i_init_styles(ui *HardUI, styles HardStyle) {
case COLORS[COLOR_BLUE]:
ui.style[i] = tmp.Foreground(tcell.ColorBlue).Dim(true)
case COLORS[COLOR_MAGENTA]:
- ui.style[i] = tmp.Foreground(tcell.ColorPurple).Dim(true)
+ ui.style[i] = tmp.Foreground(tcell.ColorPurple)
case COLORS[COLOR_CYAN]:
ui.style[i] = tmp.Foreground(tcell.ColorTeal)
case COLORS[COLOR_WHITE]:
ui.style[i] = tmp.Foreground(tcell.ColorWhite).Dim(true)
+ case COLORS[COLOR_GRAY]:
+ ui.style[i] = tmp.Foreground(tcell.ColorGray)
case COLORS[COLOR_BOLD_BLACK]:
- ui.style[i] = tmp.Foreground(tcell.ColorBlack).Dim(true).Bold(true)
+ ui.style[i] = tmp.Foreground(tcell.ColorBlack).Bold(true)
case COLORS[COLOR_BOLD_RED]:
ui.style[i] = tmp.Foreground(tcell.ColorRed).Dim(true).Bold(true)
case COLORS[COLOR_BOLD_GREEN]:
@@ -747,11 +749,13 @@ func i_init_styles(ui *HardUI, styles HardStyle) {
case COLORS[COLOR_BOLD_BLUE]:
ui.style[i] = tmp.Foreground(tcell.ColorBlue).Dim(true).Bold(true)
case COLORS[COLOR_BOLD_MAGENTA]:
- ui.style[i] = tmp.Foreground(tcell.ColorPurple).Dim(true).Bold(true)
+ ui.style[i] = tmp.Foreground(tcell.ColorPurple).Bold(true)
case COLORS[COLOR_BOLD_CYAN]:
ui.style[i] = tmp.Foreground(tcell.ColorTeal).Dim(true).Bold(true)
case COLORS[COLOR_BOLD_WHITE]:
ui.style[i] = tmp.Foreground(tcell.ColorWhite).Dim(true).Bold(true)
+ case COLORS[COLOR_BOLD_GRAY]:
+ ui.style[i] = tmp.Foreground(tcell.ColorGray).Bold(true)
default:
ui.style[i] = tmp.Foreground(tcell.ColorReset)
}