aboutsummaryrefslogtreecommitdiffstats
path: root/src/i_host.go
diff options
context:
space:
mode:
authorJoe <rbo@gmx.us>2024-03-01 20:20:20 +0100
committerJoe <rbo@gmx.us>2024-03-01 20:20:20 +0100
commit721d2697f777c5d8050f37f735a9b74eb69555b8 (patch)
tree041dafee9751de4ef98c33bc723347afcc697aaf /src/i_host.go
parentfuckye (diff)
downloadhardflip-721d2697f777c5d8050f37f735a9b74eb69555b8.tar.gz
hardflip-721d2697f777c5d8050f37f735a9b74eb69555b8.tar.bz2
hardflip-721d2697f777c5d8050f37f735a9b74eb69555b8.tar.xz
hardflip-721d2697f777c5d8050f37f735a9b74eb69555b8.tar.zst
hardflip-721d2697f777c5d8050f37f735a9b74eb69555b8.zip
commit
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 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