aboutsummaryrefslogtreecommitdiffstats
path: root/i_events.go
diff options
context:
space:
mode:
Diffstat (limited to 'i_events.go')
-rw-r--r--i_events.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/i_events.go b/i_events.go
index df96cab..c1a3951 100644
--- a/i_events.go
+++ b/i_events.go
@@ -96,7 +96,7 @@ func i_events(data *HardData) {
ui.sel = ui.sel_max - 1
}
if event.Rune() == 'D' {
- ui.delete_mode = true
+ ui.mode = DELETE_MODE
ui.delete_id = ui.sel
}
if event.Key() == tcell.KeyEnter {