diff options
author | Joe <rbo@gmx.us> | 2023-12-20 20:20:20 +0100 |
---|---|---|
committer | Joe <rbo@gmx.us> | 2023-12-20 20:20:20 +0100 |
commit | b85ff5ba517f29928eeb35a0ffe10bcd7ba4309b (patch) | |
tree | 3cb593a6cdc905860fc4241d2d93b49389f1ed70 /i_events.go | |
parent | refactor (diff) | |
download | hardflip-b85ff5ba517f29928eeb35a0ffe10bcd7ba4309b.tar.gz hardflip-b85ff5ba517f29928eeb35a0ffe10bcd7ba4309b.tar.bz2 hardflip-b85ff5ba517f29928eeb35a0ffe10bcd7ba4309b.tar.xz hardflip-b85ff5ba517f29928eeb35a0ffe10bcd7ba4309b.tar.zst hardflip-b85ff5ba517f29928eeb35a0ffe10bcd7ba4309b.zip |
in progress
Diffstat (limited to '')
-rw-r--r-- | i_events.go | 2 |
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 { |