diff options
author | joe <rbo@gmx.us> | 2025-08-28 10:51:06 +0200 |
---|---|---|
committer | joe <rbo@gmx.us> | 2025-08-28 10:51:06 +0200 |
commit | 1146d112e0c4e46b1e999d3d3212eaa1fe9cf1a2 (patch) | |
tree | 868d43d09f4b07d18e7da756bb6466b72654f8b7 /src/i_ui.go | |
parent | n option good (diff) | |
download | hardflip-1146d112e0c4e46b1e999d3d3212eaa1fe9cf1a2.tar.gz hardflip-1146d112e0c4e46b1e999d3d3212eaa1fe9cf1a2.tar.bz2 hardflip-1146d112e0c4e46b1e999d3d3212eaa1fe9cf1a2.tar.xz hardflip-1146d112e0c4e46b1e999d3d3212eaa1fe9cf1a2.tar.zst hardflip-1146d112e0c4e46b1e999d3d3212eaa1fe9cf1a2.zip |
quick fix
Diffstat (limited to 'src/i_ui.go')
-rw-r--r-- | src/i_ui.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/i_ui.go b/src/i_ui.go index 277ac0a..4c87c76 100644 --- a/src/i_ui.go +++ b/src/i_ui.go @@ -783,7 +783,7 @@ func i_init_styles(ui *HardUI, styles HardStyle) { type key_event_mode_func func(*HardData, *HardUI, tcell.EventKey) bool -func i_ui(data_dir string, no_loop bool) { +func i_ui(data_dir string, no_loop, search_mode bool) { home_dir, _ := os.UserHomeDir() ui := HardUI{} opts := HardOpts{} @@ -825,6 +825,8 @@ func i_ui(data_dir string, no_loop bool) { [][2]string{}, nil, nil, + no_loop, + search_mode, } if data.opts.GPG == DEFAULT_OPTS.GPG && data.litems.head == nil { data.ui.mode = WELCOME_MODE |