diff options
author | Joe <rbo@gmx.us> | 2024-05-13 20:20:20 +0200 |
---|---|---|
committer | Joe <rbo@gmx.us> | 2024-05-13 20:20:20 +0200 |
commit | 51a93f43affa62db99beb3d471746127696f35dc (patch) | |
tree | 2b33c6df8238ff4ba56efe189d1d3dcd40512a8c /src/i_insert.go | |
parent | go (diff) | |
download | hardflip-51a93f43affa62db99beb3d471746127696f35dc.tar.gz hardflip-51a93f43affa62db99beb3d471746127696f35dc.tar.bz2 hardflip-51a93f43affa62db99beb3d471746127696f35dc.tar.xz hardflip-51a93f43affa62db99beb3d471746127696f35dc.tar.zst hardflip-51a93f43affa62db99beb3d471746127696f35dc.zip |
k
Diffstat (limited to '')
-rw-r--r-- | src/i_insert.go | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/i_insert.go b/src/i_insert.go index 09e1537..ea666fe 100644 --- a/src/i_insert.go +++ b/src/i_insert.go @@ -473,8 +473,8 @@ func i_draw_insert_panel(ui *HardUI, in *HostNode, home_dir string) { " Insert - " + in.Name + " ", true) line := i_insert_follow_cursor(ui.insert_scroll, 2) if line + 2 < win.T { - ui.s.SetContent(ui.dim[W] / 2, win.T, '▲', - nil, ui.style[BOX_STYLE]) + ui.s.SetContent(ui.dim[W] / 2, win.T, '▲', nil, ui.style[BOX_STYLE]) + // FIX: shows in fullscreen for some reason } if win.T + line >= win.B { return } i_draw_text_box(ui, win.T + line, win, @@ -490,8 +490,7 @@ func i_draw_insert_panel(ui *HardUI, in *HostNode, home_dir string) { ui.insert_butt = false end_line = fp[in.Protocol](ui, line, win, in, home_dir) if win.T + end_line >= win.B { - ui.s.SetContent(ui.dim[W] / 2, win.B, '▼', - nil, ui.style[BOX_STYLE]) + ui.s.SetContent(ui.dim[W] / 2, win.B, '▼', nil, ui.style[BOX_STYLE]) } i_draw_insert_inputs(*ui, in, home_dir) } |