diff options
author | Tim Culverhouse <tim@timculverhouse.com> | 2022-10-19 15:22:32 -0500 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2022-10-19 23:52:39 +0200 |
commit | 7585a54832cc045962a769b65861bf174202b891 (patch) | |
tree | 766909ad2d2ac461eba1011b27e9eb112b4af03f /lib/messageview.go | |
parent | c6463ba48167aba07b3fd8bb707dbe60707e9426 (diff) | |
download | aerc-7585a54832cc045962a769b65861bf174202b891.tar.gz |
split: prevent panic when store is not set
Prevent panic when split is called but the msgstore is either not
initialized or has no UIDs. This condition could be triggered by calling
:split or :vsplit immediately at startup.
Use the same logic as the :view command, which could operate in a
similar manner.
Signed-off-by: Tim Culverhouse <tim@timculverhouse.com>
Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'lib/messageview.go')
0 files changed, 0 insertions, 0 deletions