From 7c88494a3cf8e62694811f4a5737c8ec39f17817 Mon Sep 17 00:00:00 2001 From: Joe Date: Wed, 27 Dec 2023 20:20:20 +0100 Subject: fuck --- i_ui.go | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'i_ui.go') diff --git a/i_ui.go b/i_ui.go index 8fd7306..a9897db 100644 --- a/i_ui.go +++ b/i_ui.go @@ -214,8 +214,6 @@ func i_host_panel(ui HardUI, opts HardOpts, ldirs *DirsList) { ui.dim[W] / 3, ui.dim[H] - 2, " Hosts ", false) dirs := ldirs.head - host_icons := [2]string{"  ", "  "} - dirs_icons := [2]string{"  ", "  "} for i := 0; i < ui.list_start && dirs.next != nil; i++ { dirs = dirs.next } @@ -235,7 +233,7 @@ func i_host_panel(ui HardUI, opts HardOpts, ldirs *DirsList) { if dirs.Folded == true { fold_var = 1 } - text += dirs_icons[fold_var] + text += DIRS_ICONS[fold_var] } text += dirs.Name spaces := "" @@ -262,7 +260,7 @@ func i_host_panel(ui HardUI, opts HardOpts, ldirs *DirsList) { } } if opts.Icon == true { - text += host_icons[int(host.Protocol)] + text += HOST_ICONS[int(host.Protocol)] } text += host.Name spaces := "" -- cgit v1.2.3