aboutsummaryrefslogtreecommitdiffstats
path: root/src/i_ui.go
diff options
context:
space:
mode:
authorJoe <rbo@gmx.us>2024-05-09 20:20:20 +0200
committerJoe <rbo@gmx.us>2024-05-09 20:20:20 +0200
commit79c7469a9e8efff160335aa6e9b3046197e883e4 (patch)
tree2426234ab83c6a2be0fe145986c96b497b84c038 /src/i_ui.go
parenttmp (diff)
downloadhardflip-79c7469a9e8efff160335aa6e9b3046197e883e4.tar.gz
hardflip-79c7469a9e8efff160335aa6e9b3046197e883e4.tar.bz2
hardflip-79c7469a9e8efff160335aa6e9b3046197e883e4.tar.xz
hardflip-79c7469a9e8efff160335aa6e9b3046197e883e4.tar.zst
hardflip-79c7469a9e8efff160335aa6e9b3046197e883e4.zip
not quite but gettin close
Diffstat (limited to '')
-rw-r--r--src/i_ui.go5
1 files changed, 4 insertions, 1 deletions
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)
}