summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Milde <daniel@milde.cz>2024-02-18 20:39:15 +0100
committerDaniel Milde <daniel@milde.cz>2024-02-18 20:39:15 +0100
commit4050b186b6bd502d10a9b4ac5be571565b648962 (patch)
tree1f1565b202d899a382b6cffe7a52d093698813db
parentba089e58b07699cccaee274159b8322f5a5fcf70 (diff)
fix: show black as real black
fixes #280
-rw-r--r--tui/format.go2
-rw-r--r--tui/show.go6
2 files changed, 4 insertions, 4 deletions
diff --git a/tui/format.go b/tui/format.go
index efc683d..c0913e5 100644
--- a/tui/format.go
+++ b/tui/format.go
@@ -83,7 +83,7 @@ func (ui *UI) formatSize(size int64, reverseColor bool, transparentBg bool) stri
var color string
if reverseColor {
if ui.UseColors {
- color = "[black:#2479d0:-]"
+ color = "[#000000:#2479d0:-]"
} else {
color = "[black:white:-]"
}
diff --git a/tui/show.go b/tui/show.go
index 0038bd6..bff6d50 100644
--- a/tui/show.go
+++ b/tui/show.go
@@ -128,7 +128,7 @@ func (ui *UI) showDir() {
var footerNumberColor, footerTextColor string
if ui.UseColors {
footerNumberColor = "[#ffffff:#2479d0:b]"
- footerTextColor = "[black:#2479d0:-]"
+ footerTextColor = "[#000000:#2479d0:-]"
} else {
footerNumberColor = "[black:white:b]"
footerTextColor = "[black:white:-]"
@@ -141,7 +141,7 @@ func (ui *UI) showDir() {
}
ui.footerLabel.SetText(
- selected +
+ selected + footerTextColor +
" Total disk usage: " +
footerNumberColor +
ui.formatSize(totalUsage, true, false) +
@@ -195,7 +195,7 @@ func (ui *UI) showDevices() {
var footerNumberColor, footerTextColor string
if ui.UseColors {
footerNumberColor = "[#ffffff:#2479d0:b]"
- footerTextColor = "[black:#2479d0:-]"
+ footerTextColor = "[#000000:#2479d0:-]"
} else {
footerNumberColor = "[black:white:b]"
footerTextColor = "[black:white:-]"