diff options
author | Tim Culverhouse <tim@timculverhouse.com> | 2022-10-20 11:03:53 -0500 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2022-10-20 22:17:18 +0200 |
commit | edd48c998161f7d0951f80885180d7b8e356e97e (patch) | |
tree | 379917a7739d1ff5b3807191e0cbafeb4c102b49 /commands/account/mkdir.go | |
parent | 0cc56781dcf49ef9fd5eb580d433d01f892ab276 (diff) | |
download | aerc-edd48c998161f7d0951f80885180d7b8e356e97e.tar.gz |
split: clamp minimum split size to 1
The split command allows delta size changes, which triggers a condition
where the split can overflow into the dirlist. Clamp the minimum size of
a split or vsplit to "1" to prevent the view from overflowing, or
completely covering the message list. A split of 0 will still clear the
split.
Reported-by: Koni Marti <koni.marti@gmail.com>
Signed-off-by: Tim Culverhouse <tim@timculverhouse.com>
Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'commands/account/mkdir.go')
0 files changed, 0 insertions, 0 deletions