diff options
author | Joe <rbo@gmx.us> | 2024-01-23 20:20:20 +0100 |
---|---|---|
committer | Joe <rbo@gmx.us> | 2024-01-23 20:20:20 +0100 |
commit | b17fa17ff75842afa5e1fe7c8c1af6eeeebb6397 (patch) | |
tree | b7851b958058f4f940b4f0473341294ddaf77532 /src/i_events.go | |
parent | alright (diff) | |
download | hardflip-b17fa17ff75842afa5e1fe7c8c1af6eeeebb6397.tar.gz hardflip-b17fa17ff75842afa5e1fe7c8c1af6eeeebb6397.tar.bz2 hardflip-b17fa17ff75842afa5e1fe7c8c1af6eeeebb6397.tar.xz hardflip-b17fa17ff75842afa5e1fe7c8c1af6eeeebb6397.tar.zst hardflip-b17fa17ff75842afa5e1fe7c8c1af6eeeebb6397.zip |
bench time
Diffstat (limited to '')
-rw-r--r-- | src/i_events.go | 3 |
1 files changed, 2 insertions, 1 deletions
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 } } } |