aboutsummaryrefslogtreecommitdiffstats
path: root/src/i_host.go
diff options
context:
space:
mode:
authorJoe <rbo@gmx.us>2024-01-23 20:20:20 +0100
committerJoe <rbo@gmx.us>2024-01-23 20:20:20 +0100
commit559281aa9c0a649925587f65e420c530733b5a24 (patch)
tree2119267078dcea7883d299ec5c6182101595bfac /src/i_host.go
parentbetter org (diff)
downloadhardflip-559281aa9c0a649925587f65e420c530733b5a24.tar.gz
hardflip-559281aa9c0a649925587f65e420c530733b5a24.tar.bz2
hardflip-559281aa9c0a649925587f65e420c530733b5a24.tar.xz
hardflip-559281aa9c0a649925587f65e420c530733b5a24.tar.zst
hardflip-559281aa9c0a649925587f65e420c530733b5a24.zip
alright
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 0ff0eb2..5d74234 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.dir_style
+ style := ui.style[DIR_STYLE]
if dir == curr {
style = style.Reverse(true)
}
@@ -77,7 +77,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.def_style
+ style := ui.style[DEF_STYLE]
if host == curr {
style = style.Reverse(true)
}
@@ -102,7 +102,7 @@ func i_host_panel_host(ui HardUI, icons bool,
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,
- " Hosts ", false)
+ ui.style[BOX_STYLE], ui.style[HEAD_STYLE], " Hosts ", false)
line := 1
if litems == nil || litems.head == nil {
return