summaryrefslogtreecommitdiff
path: root/CHANGELOG.md
diff options
context:
space:
mode:
authorChristian Duerr <contact@christianduerr.com>2020-12-10 02:10:24 +0000
committerGitHub <noreply@github.com>2020-12-10 02:10:24 +0000
commit4975be29df848db9b339b5390290e4eb2ac8e140 (patch)
treedc5d1f3782fba964684c7e95146b9b146ba15553 /CHANGELOG.md
parente924c8441da3d0b439da292067961aecc120fd08 (diff)
downloadalacritty-4975be29df848db9b339b5390290e4eb2ac8e140.tar.gz
alacritty-4975be29df848db9b339b5390290e4eb2ac8e140.zip
Fix scrolling region performance with fixed lines
This resolves an issue with Alacritty's scrolling region performance when there's a number of fixed lines at the top of the screen. This affects commonly used applications like tmux or vim. Instead of using separate logic for when the scrolling region starts at the top of the screen without any fixed lines, the code should now try to figure out the target position of these fixed lines ahead of time, swap them into place and still perform the optimized implementation to move the grid. This comes with the small trade-off that since lines are swapped before rotating the screen without clearing or removing any lines during the rotation process, that the places the fixed lines have been swapped with will appear out of order when using scrolling regions in the primary screen buffer. Since the use of scrolling regions primarily affects the alternate screen and most terminals don't keep any history at all, this should however not cause any problems.
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 34dde984..32844199 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -24,6 +24,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- Preserve vi mode across terminal `reset`
- Escapes `CSI Ps b` and `CSI Ps Z` with large parameters locking up Alacritty
- Dimming colors which use the indexed `CSI 38 : 5 : Ps m` notation
+- Performance of scrolling regions with offset from the bottom
### Removed