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 | 8c9247531128afcf4951d2c426f0aa2a965a4de4 (patch) | |
tree | 64cbd67b3195d9922e975b0aeab6272270e00bf4 /src/i_events.go | |
parent | good loading errmsg (diff) | |
download | hardflip-8c9247531128afcf4951d2c426f0aa2a965a4de4.tar.gz hardflip-8c9247531128afcf4951d2c426f0aa2a965a4de4.tar.bz2 hardflip-8c9247531128afcf4951d2c426f0aa2a965a4de4.tar.xz hardflip-8c9247531128afcf4951d2c426f0aa2a965a4de4.tar.zst hardflip-8c9247531128afcf4951d2c426f0aa2a965a4de4.zip |
rly that was the fix
Diffstat (limited to '')
-rw-r--r-- | src/i_events.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i_events.go b/src/i_events.go index 7ca1511..f0ee03b 100644 --- a/src/i_events.go +++ b/src/i_events.go @@ -170,7 +170,6 @@ func i_reload_data(data *HardData) { g_load_count = -1 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 +343,7 @@ func i_events(data *HardData) { } case ERROR_MODE: if event.Rune() != 0 || + event.Key() == tcell.KeyEscape || event.Key() == tcell.KeyEnter { ui.mode = NORMAL_MODE data.load_err = nil |