summaryrefslogtreecommitdiff
path: root/CHANGELOG.md
diff options
context:
space:
mode:
authorChristian Duerr <chrisduerr@users.noreply.github.com>2018-11-11 20:24:41 +0000
committerGitHub <noreply@github.com>2018-11-11 20:24:41 +0000
commit6a0bd7409d098fac85c13f8f268adbb11c0a371e (patch)
tree92b229c03f92834e2ad26cb832a0cec8267dfe48 /CHANGELOG.md
parentdba3cccf6948fb993e02d03ca8891fbc7f6cd3e6 (diff)
downloadalacritty-6a0bd7409d098fac85c13f8f268adbb11c0a371e.tar.gz
alacritty-6a0bd7409d098fac85c13f8f268adbb11c0a371e.zip
Center the grid inside the window
Currently alacritty always puts the grid at the top-left position of the window. The only distance to the top-left window border is set by the padding in the config. However the grid always has a fixed size, and if a cell doesn't completely fit the screen anymore, the padding at the bottom right window corner can be significantly bigger than the padding at the top left. To fix this whenever there is more space left and there would usually be a bigger padding at the bottom right, the space is now split up and added to the padding. This should always center the grid inside the window and make sure all borders have the same padding from the text area. This screenshot shows how it has been until now: ![Before](https://u.teknik.io/kRJwg.png) Here is how it looks now: ![After](https://u.teknik.io/m4puV.png) This fixes #1065.
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r--CHANGELOG.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 15164698..c6cc7ccd 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -23,6 +23,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Moved `unfocused_hollow_cursor` to `cursor.unfocused_hollow`
- Moved `hide_cursor_when_typing` to `mouse.hide_when_typing`
- Mouse bindings now ignore additional modifiers
+- Extra padding is now spread evenly around the terminal grid
### Removed