summaryrefslogtreecommitdiffstats
path: root/tui/format.go
diff options
context:
space:
mode:
authorDaniel Milde <daniel@milde.cz>2021-03-23 12:06:22 +0100
committerDaniel Milde <daniel@milde.cz>2021-03-23 12:06:22 +0100
commit5823e4339e82bb46b7b0af681e960e05fcd1fe17 (patch)
tree4b3efc5e405100be6d57cbbe15ffa35fbf4affcf /tui/format.go
parent9331c57c12e0824b8329ed69c4a5751082ece8e2 (diff)
use default colors of the terminal
fixes #43
Diffstat (limited to 'tui/format.go')
-rw-r--r--tui/format.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/tui/format.go b/tui/format.go
index 73d4a84..f87afcd 100644
--- a/tui/format.go
+++ b/tui/format.go
@@ -19,15 +19,15 @@ func (ui *UI) formatFileRow(item analyze.Item) string {
row := string(item.GetFlag())
if ui.useColors {
- row += "[#e67100:-:b]"
+ row += "[#e67100::b]"
} else {
- row += "[white:-:b]"
+ row += "[::b]"
}
if ui.showApparentSize {
- row += fmt.Sprintf("%21s", ui.formatSize(item.GetSize(), false, true))
+ row += fmt.Sprintf("%15s", ui.formatSize(item.GetSize(), false, true))
} else {
- row += fmt.Sprintf("%21s", ui.formatSize(item.GetUsage(), false, true))
+ row += fmt.Sprintf("%15s", ui.formatSize(item.GetUsage(), false, true))
}
row += getUsageGraph(part)
@@ -53,7 +53,7 @@ func (ui *UI) formatSize(size int64, reverseColor bool, transparentBg bool) stri
}
} else {
if transparentBg {
- color = "[white:-:-]"
+ color = "[-::]"
} else {
color = "[white:black:-]"
}