diff options
Diffstat (limited to 'src/i_host.go')
-rw-r--r-- | src/i_host.go | 6 |
1 files changed, 3 insertions, 3 deletions
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 |