From b85ff5ba517f29928eeb35a0ffe10bcd7ba4309b Mon Sep 17 00:00:00 2001 From: Joe Date: Wed, 20 Dec 2023 20:20:20 +0100 Subject: in progress --- i_events.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'i_events.go') 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 { -- cgit v1.2.3