aerc/commands
Tim Culverhouse 80f8bab6cf delete: move tab replace logic into Done callback
Move tab replacement logic for next-message-on-delete into the
callback. This also moves the Invalidate() call into the callback, and
should make imap deletion UI work more reliably - there is a race
condition between the worker and the UI in displaying deleted messages.
This should resolve the race condition, and also only remove the MsgView
tab if the message is actually deleted.

Signed-off-by: Tim Culverhouse <tim@timculverhouse.com>
Acked-by: Robin Jarry <robin@jarry.cc>
2022-07-24 23:05:11 +02:00
..
account logging: use level-based logger functions 2022-07-23 22:52:15 +02:00
compose logging: use level-based logger functions 2022-07-23 22:52:15 +02:00
mode commands: implement a no-quit mode 2022-07-14 23:15:02 +02:00
msg delete: move tab replace logic into Done callback 2022-07-24 23:05:11 +02:00
msgview tabs: rename SelectedTab to SelectedTabContent 2022-07-23 22:00:21 +02:00
terminal tabs: rename SelectedTab to SelectedTabContent 2022-07-23 22:00:21 +02:00
cd.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
choose.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
commands.go commands: implement prompt completion 2022-07-02 18:36:40 +02:00
ct.go commands: use SelectedAccountUiConfig instead of explicit nil check 2022-03-16 17:02:36 +01:00
exec.go tabs: rename SelectedTab to SelectedTabContent 2022-07-23 22:00:21 +02:00
global.go Implement basic tab completion support 2019-06-29 14:24:19 -04:00
help.go help: add completions 2022-05-23 20:59:10 +02:00
history.go Add command history and cycling 2019-07-26 14:29:34 -04:00
move-tab.go tabs: make fields private 2022-07-23 22:00:25 +02:00
new-account.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
next-tab.go statusline: implement per-account status 2022-03-18 23:42:07 +01:00
pin-tab.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
prompt.go commands: implement prompt completion 2022-07-02 18:36:40 +02:00
pwd.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
quit.go commands: implement a no-quit mode 2022-07-14 23:15:02 +02:00
set.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
term.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
util.go logging: added a log on panic 2022-03-23 20:56:09 +01:00