aboutsummaryrefslogtreecommitdiffstats
path: root/i_events.go
diff options
context:
space:
mode:
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 {