From 51a93f43affa62db99beb3d471746127696f35dc Mon Sep 17 00:00:00 2001 From: Joe Date: Mon, 13 May 2024 20:20:20 +0200 Subject: k --- src/i_insert.go | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/i_insert.go') 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) } -- cgit v1.2.3