aboutsummaryrefslogtreecommitdiffstats
path: root/i_ui.go
diff options
context:
space:
mode:
authorJoe <rbo@gmx.us>2024-01-09 20:20:20 +0100
committerJoe <rbo@gmx.us>2024-01-09 20:20:20 +0100
commit99d7e91923aa4d61c775279ad5b5dec213e4ff35 (patch)
tree257c66d8c20b9ef8a509453c97a8ee099da5133c /i_ui.go
parentgg (diff)
downloadhardflip-99d7e91923aa4d61c775279ad5b5dec213e4ff35.tar.gz
hardflip-99d7e91923aa4d61c775279ad5b5dec213e4ff35.tar.bz2
hardflip-99d7e91923aa4d61c775279ad5b5dec213e4ff35.tar.xz
hardflip-99d7e91923aa4d61c775279ad5b5dec213e4ff35.tar.zst
hardflip-99d7e91923aa4d61c775279ad5b5dec213e4ff35.zip
clean
Diffstat (limited to 'i_ui.go')
-rw-r--r--i_ui.go6
1 files changed, 1 insertions, 5 deletions
diff --git a/i_ui.go b/i_ui.go
index 254dfa3..87c9483 100644
--- a/i_ui.go
+++ b/i_ui.go
@@ -253,7 +253,7 @@ func i_host_panel_dirs(ui HardUI, icons bool,
}
func i_host_panel_host(ui HardUI, icons bool,
- depth uint16, host *HostNode, curr *HostNode, ptr *ItemsNode, line int) {
+ depth uint16, host *HostNode, curr *HostNode, line int) {
style := ui.def_style
if host == curr {
style = style.Reverse(true)
@@ -274,9 +274,6 @@ func i_host_panel_host(ui HardUI, icons bool,
i_draw_text(ui.s,
1, line, ui.dim[W] / 3, line,
style, text)
- i_draw_text(ui.s,
- 1, line, ui.dim[W] / 3, line,
- style, strconv.Itoa(ptr.ID))
}
func i_host_panel(ui HardUI, icons bool, litems *ItemsList) {
@@ -292,7 +289,6 @@ func i_host_panel(ui HardUI, icons bool, litems *ItemsList) {
ptr.Host.Parent.Depth,
ptr.Host,
litems.curr.Host,
- ptr,
line)
} else {
i_host_panel_dirs(ui, icons,