diff options
author | Joe <rbo@gmx.us> | 2024-01-05 20:20:20 +0100 |
---|---|---|
committer | Joe <rbo@gmx.us> | 2024-01-05 20:20:20 +0100 |
commit | b86e613a96d23e90668b5f9aabd2a38b76c30fa4 (patch) | |
tree | eac72d2b8280203651a74b515a96c12edc891690 /i_ui.go | |
parent | googo (diff) | |
download | hardflip-b86e613a96d23e90668b5f9aabd2a38b76c30fa4.tar.gz hardflip-b86e613a96d23e90668b5f9aabd2a38b76c30fa4.tar.bz2 hardflip-b86e613a96d23e90668b5f9aabd2a38b76c30fa4.tar.xz hardflip-b86e613a96d23e90668b5f9aabd2a38b76c30fa4.tar.zst hardflip-b86e613a96d23e90668b5f9aabd2a38b76c30fa4.zip |
now draw litems list
Diffstat (limited to '')
-rw-r--r-- | i_ui.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -78,7 +78,7 @@ func (ui *HardUI) inc_sel(n int, data *HardData) { n = 0 } ui.line += n - data.sel_unique_id(ui.line) + data.litems.curr = data.litems.curr.inc(n) if ui.line > ui.list_start + ui.dim[H] - 4 { ui.list_start = (ui.line + 1) - (ui.dim[H] + 3) } else if ui.line < ui.list_start { @@ -326,8 +326,8 @@ func i_host_panel(ui HardUI, icons bool, ldirs *DirsList) { func i_info_panel(ui HardUI, lhost *HostList) { var host *HostNode - curr_line := 2 var host_type string + curr_line := 2 i_draw_box(ui.s, (ui.dim[W] / 3), 0, ui.dim[W] - 1, ui.dim[H] - 2, |