aboutsummaryrefslogtreecommitdiffstats
path: root/src/i_events.go
diff options
context:
space:
mode:
authorJoe <rbo@gmx.us>2024-01-23 20:20:20 +0100
committerJoe <rbo@gmx.us>2024-01-23 20:20:20 +0100
commit730bbd15c64cf8324267176dc6ced128559ad4cd (patch)
tree8aac0527cf3616f04624ebf14e552d07396ae080 /src/i_events.go
parentgo (diff)
downloadhardflip-730bbd15c64cf8324267176dc6ced128559ad4cd.tar.gz
hardflip-730bbd15c64cf8324267176dc6ced128559ad4cd.tar.bz2
hardflip-730bbd15c64cf8324267176dc6ced128559ad4cd.tar.xz
hardflip-730bbd15c64cf8324267176dc6ced128559ad4cd.tar.zst
hardflip-730bbd15c64cf8324267176dc6ced128559ad4cd.zip
better org
Diffstat (limited to '')
-rw-r--r--src/i_events.go (renamed from i_events.go)3
1 files changed, 2 insertions, 1 deletions
diff --git a/i_events.go b/src/i_events.go
index e0889f4..526b4a4 100644
--- a/i_events.go
+++ b/src/i_events.go
@@ -289,7 +289,8 @@ func i_events(data *HardData) {
} else if event.Rune() == 'D' &&
data.ldirs.head != nil {
ui.mode = DELETE_MODE
- } else if event.Key() == tcell.KeyEnter {
+ } else if event.Rune() == 'l' ||
+ event.Key() == tcell.KeyEnter {
if data.litems.curr == nil {
break
} else if data.litems.curr.is_dir() == false {