aboutsummaryrefslogtreecommitdiffstats
path: root/src/i_host.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/i_host.go')
-rw-r--r--src/i_host.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/i_host.go b/src/i_host.go
index 76334e1..9afb352 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[DIR_STYLE]
+ style := ui.style[STYLE_DIR]
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[DEF_STYLE]
+ style := ui.style[STYLE_DEF]
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[BOX_STYLE], ui.style[HEAD_STYLE], " Hosts ", false)
+ ui.style[STYLE_BOX], ui.style[STYLE_HEAD], " Hosts ", false)
line := 1
if litems == nil || litems.head == nil {
return