1
0
Fork 0
mirror of https://github.com/alacritty/alacritty.git synced 2024-11-18 13:55:23 -05:00
alacritty/alacritty_terminal
Christian Duerr 7ac1ec5e2f Fix cursor position after alt screen resize
This fixes a regression introduced in 4cc6421, which ignored the main
grid's cursor when increasing the number of lines available, causing
incorrect cursor position after restoring to the primary screen.

Additionally another similar bug has been fixed where the grid was not
scrolled correctly when shrinking while in the alternate screen.

When the grid is resized multiple lines at once, there was also an issue
with Alacritty either pulling all lines from history or none at all,
instead of mixing both approaches and pulling just what is required.
This lead to incorrect cursor positions when the resize could partially
make use of history.

Fixes #3499.
2020-03-24 10:38:32 +00:00
..
src Fix cursor position after alt screen resize 2020-03-24 10:38:32 +00:00
tests Fix incorrect grid.len() and grid.history_size() 2020-01-26 14:49:58 +01:00
Cargo.toml Bump version to RC3 2020-03-21 01:40:47 +00:00