summaryrefslogtreecommitdiffstats
path: root/tui/utils.go
diff options
context:
space:
mode:
authorDaniel Milde <daniel@milde.cz>2024-04-24 16:07:35 +0200
committerDaniel Milde <daniel@milde.cz>2024-04-24 16:07:50 +0200
commit337eefece8f059678687487684580a0c73938be7 (patch)
treee103a7a93076ec55f5cf80d6bde1da9a32af29f2 /tui/utils.go
parentcf98385b1e09bfa41bc567ad0686cf0fe9f4b259 (diff)
refactor: small fixes
Diffstat (limited to 'tui/utils.go')
-rw-r--r--tui/utils.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tui/utils.go b/tui/utils.go
index 351f679..6403dbd 100644
--- a/tui/utils.go
+++ b/tui/utils.go
@@ -47,7 +47,7 @@ func getUsageGraph(part int) string {
}
func getUsageGraphOld(part int) string {
- part = part / 10
+ part /= 10
graph := "["
for i := 0; i < 10; i++ {
if part > i {