aboutsummaryrefslogtreecommitdiffstats
path: root/src/i_ui.go
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/i_ui.go4
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