aerc/widgets
Tim Culverhouse bd8a4feecc split: prevent opening split when no messages are selected
The [v]split command panics when it is run with no message selected, or
when messages aren't loaded. Check for a valid selected message before
creating a split, and report an error if one isn't selected.

Signed-off-by: Tim Culverhouse <tim@timculverhouse.com>
Acked-by: Robin Jarry <robin@jarry.cc>
2022-10-19 21:50:26 +02:00
..
account-wizard.go invalidatable: cleanup dead code 2022-10-12 22:16:40 +02:00
account.go split: prevent opening split when no messages are selected 2022-10-19 21:50:26 +02:00
aerc.go compose: warn before sending without attachment 2022-10-17 22:41:00 +02:00
authinfo.go invalidatable: cleanup dead code 2022-10-12 22:16:40 +02:00
compose.go compose: warn before sending without attachment 2022-10-17 22:41:00 +02:00
dialog.go widgets: add dialog interface 2022-08-22 09:30:37 +02:00
dirlist.go invalidatable: cleanup dead code 2022-10-12 22:16:40 +02:00
dirtree.go dirtree: fix folder scrolling 2022-10-19 20:27:24 +02:00
exline.go invalidatable: cleanup dead code 2022-10-12 22:16:40 +02:00
getpasswd.go invalidatable: cleanup dead code 2022-10-12 22:16:40 +02:00
headerlayout.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
listbox.go invalidatable: cleanup dead code 2022-10-12 22:16:40 +02:00
msglist.go invalidatable: cleanup dead code 2022-10-12 22:16:40 +02:00
msgviewer.go command/help: remove helpClose function 2022-10-19 21:01:55 +02:00
pgpinfo.go invalidatable: cleanup dead code 2022-10-12 22:16:40 +02:00
providesmessage.go msgviewer: open http links from messages 2022-06-14 22:12:48 +02:00
scrollable.go lint: apply new formatting rules 2022-08-01 10:44:52 +02:00
selector.go invalidatable: cleanup dead code 2022-10-12 22:16:40 +02:00
spinner.go invalidatable: cleanup dead code 2022-10-12 22:16:40 +02:00
status.go invalidatable: cleanup dead code 2022-10-12 22:16:40 +02:00
tabhost.go Implement style configuration. 2020-08-06 21:42:06 +02:00
terminal.go terminal: properly handle cursor display 2022-10-19 21:01:55 +02:00