aboutsummaryrefslogtreecommitdiffstats
path: root/i_ui.go
diff options
context:
space:
mode:
authorJoe <rbo@gmx.us>2023-12-19 20:20:20 +0100
committerJoe <rbo@gmx.us>2023-12-19 20:20:20 +0100
commit0b18f646be7e82ef2b9b1041f6b827fdf824cfb3 (patch)
treec1d6a4cd85518edc2894088d64baf9b404d2b0da /i_ui.go
parentwarn (diff)
downloadhardflip-0b18f646be7e82ef2b9b1041f6b827fdf824cfb3.tar.gz
hardflip-0b18f646be7e82ef2b9b1041f6b827fdf824cfb3.tar.bz2
hardflip-0b18f646be7e82ef2b9b1041f6b827fdf824cfb3.tar.xz
hardflip-0b18f646be7e82ef2b9b1041f6b827fdf824cfb3.tar.zst
hardflip-0b18f646be7e82ef2b9b1041f6b827fdf824cfb3.zip
dont know if thats good
Diffstat (limited to 'i_ui.go')
-rw-r--r--i_ui.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/i_ui.go b/i_ui.go
index 5c0f526..97c20e9 100644
--- a/i_ui.go
+++ b/i_ui.go
@@ -168,7 +168,7 @@ func i_hosts_panel(s tcell.Screen, t [2]int,
}
i_draw_text(s,
1, t[H] - 2, (t[W] / 3) - 1, t[H] - 1,
- def_style, " " + strconv.Itoa(int(sel_max)) + " hosts ")
+ def_style, " " + strconv.Itoa(int(sel + 1)) + "/" + strconv.Itoa(int(sel_max)) + " hosts ")
}
func i_info_panel(s tcell.Screen, t [2]int,