aerc/commands/msgview
Robin Jarry 92ba132d70 open: simplify code
There is no need for convoluted channels and other async fanciness.
Expose a single XDGOpen static function that runs a command and returns
an error if any.

Caller is responsible of running this in an async goroutine if needed.

Signed-off-by: Robin Jarry <robin@jarry.cc>
Tested-by: Tim Culverhouse <tim@timculverhouse.com>
Acked-by: Moritz Poldrack <moritz@poldrack.dev>
2022-10-01 15:46:49 +02:00
..
close.go tabs: rename SelectedTab to SelectedTabContent 2022-07-23 22:00:21 +02:00
msgview.go lint: apply new formatting rules 2022-08-01 10:44:52 +02:00
next-part.go tabs: rename SelectedTab to SelectedTabContent 2022-07-23 22:00:21 +02:00
next.go tabs: rename SelectedTab to SelectedTabContent 2022-07-23 22:00:21 +02:00
open.go open: simplify code 2022-10-01 15:46:49 +02:00
save.go lint: apply new formatting rules 2022-08-01 10:44:52 +02:00
toggle-headers.go tabs: rename SelectedTab to SelectedTabContent 2022-07-23 22:00:21 +02:00
toggle-key-passthrough.go tabs: rename SelectedTab to SelectedTabContent 2022-07-23 22:00:21 +02:00