From 721d2697f777c5d8050f37f735a9b74eb69555b8 Mon Sep 17 00:00:00 2001 From: Joe Date: Fri, 1 Mar 2024 20:20:20 +0100 Subject: commit --- src/i_host.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/i_host.go') diff --git a/src/i_host.go b/src/i_host.go index 9afb352..76334e1 100644 --- a/src/i_host.go +++ b/src/i_host.go @@ -53,7 +53,7 @@ package main func i_host_panel_dirs(ui HardUI, icons bool, dir_icon uint8, dir *DirsNode, curr *DirsNode, line int) { - style := ui.style[STYLE_DIR] + style := ui.style[DIR_STYLE] if dir == curr { // style = style.Background(tcell.ColorBlack) style = style.Reverse(true) @@ -78,7 +78,7 @@ func i_host_panel_dirs(ui HardUI, icons bool, dir_icon uint8, func i_host_panel_host(ui HardUI, icons bool, depth uint16, host *HostNode, curr *HostNode, line int) { - style := ui.style[STYLE_DEF] + style := ui.style[DEF_STYLE] if host == curr { // style = style.Background(tcell.ColorBlack) style = style.Reverse(true) @@ -105,7 +105,7 @@ func i_draw_host_panel(ui HardUI, icons bool, litems *ItemsList, data *HardData) { i_draw_box(ui.s, 0, 0, ui.dim[W] / 3, ui.dim[H] - 2, - ui.style[STYLE_BOX], ui.style[STYLE_HEAD], " Hosts ", false) + ui.style[BOX_STYLE], ui.style[HEAD_STYLE], " Hosts ", false) line := 1 if litems == nil || litems.head == nil { return -- cgit v1.2.3