diff options
author | Moritz Poldrack <git@moritz.sh> | 2022-12-17 22:28:58 +0100 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2022-12-19 11:57:44 +0100 |
commit | c6587e592d08fc47117b7448491204c775783e4b (patch) | |
tree | 917395b8ae223e5cfcebfc6ec643192eb5c5c3f9 /CHANGELOG.md | |
parent | 723ab8d9f373d35f629e1b3c9ec68fa8983aafd4 (diff) | |
download | aerc-c6587e592d08fc47117b7448491204c775783e4b.tar.gz |
split: use a sensible default width
Guessing a width/height with v?split is rather bothersome, using a
sensible value based on the user's terminal would be preferable. This
also prevents confusion when running :v?split without a number seemingly
does not open a split.
Initialize width as half the width of the message list and height as an
eight of the message list.
Signed-off-by: Moritz Poldrack <git@moritz.sh>
Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r-- | CHANGELOG.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 7d505bcf..3a42fa52 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -31,6 +31,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - `pgp-provider` now defaults to `auto`. It will use the system `gpg` unless the internal keyring exists and contains at least one key. +- calling `:split` or `:vsplit` without specifying a size, now attempts to use + the terminal size to determine a useful split-size. ### Fixed |