From 79c7469a9e8efff160335aa6e9b3046197e883e4 Mon Sep 17 00:00:00 2001 From: Joe Date: Thu, 9 May 2024 20:20:20 +0200 Subject: not quite but gettin close --- src/i_ui.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/i_ui.go') diff --git a/src/i_ui.go b/src/i_ui.go index dc7165e..d0b1a4b 100644 --- a/src/i_ui.go +++ b/src/i_ui.go @@ -73,6 +73,9 @@ type HardUI struct { insert_sel_max int insert_sel_ok bool insert_method int + insert_scroll int + insert_line int + insert_win Quad } type Quad struct { @@ -742,7 +745,7 @@ func i_ui(data_dir string) { if data.insert == nil { i_prompt_insert(data.ui, data.litems.curr) } else { - i_draw_insert_panel(data.ui, data.insert, data.home_dir) + i_draw_insert_panel(&data.ui, data.insert, data.home_dir) if data.insert_err != nil { i_draw_insert_err_msg(data.ui, data.insert_err) } -- cgit v1.2.3