From b17fa17ff75842afa5e1fe7c8c1af6eeeebb6397 Mon Sep 17 00:00:00 2001 From: Joe Date: Tue, 23 Jan 2024 20:20:20 +0100 Subject: bench time --- src/i_events.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/i_events.go') diff --git a/src/i_events.go b/src/i_events.go index 4e3baae..427f9c1 100644 --- a/src/i_events.go +++ b/src/i_events.go @@ -168,7 +168,7 @@ func i_fold_dir(data *HardData, item *ItemsNode) { func i_reload_data(data *HardData) { data.data_dir = c_get_data_dir() g_load_count = -1 - data.ldirs, data.litems = i_load_ui(data.data_dir, data.opts, &data.ui) + data.ldirs, data.litems, data.load_err = i_load_ui(data.data_dir, data.opts, &data.ui) // FIX: must input to start reloading for some reason data.folds = make(map[*DirsNode]*ItemsList) } @@ -344,6 +344,7 @@ func i_events(data *HardData) { if event.Rune() == 'q' || event.Key() == tcell.KeyEnter { ui.mode = NORMAL_MODE + data.load_err = nil } } } -- cgit v1.2.3