aboutsummaryrefslogtreecommitdiff
path: root/alacritty_terminal/tests
diff options
context:
space:
mode:
authorChristian Duerr <contact@christianduerr.com>2020-07-09 02:16:20 +0000
committerGitHub <noreply@github.com>2020-07-09 05:16:20 +0300
commit9974bc8baa45fda0b4ba3db2ae615fb7f90f7029 (patch)
tree36647597bc3b8f8c805079fc38e17e5ef0dddd69 /alacritty_terminal/tests
parent65bff1878ff68698da021b4d5aa00d1cfad41d0a (diff)
downloadalacritty-9974bc8baa45fda0b4ba3db2ae615fb7f90f7029.tar.gz
alacritty-9974bc8baa45fda0b4ba3db2ae615fb7f90f7029.zip
Fix cursor reflow
To make sure that output is consistent even while resizing the window, the cursor will now reflow with the content whenever the window size is changed. Since the saved cursor is more likely to represent a position in the grid rather than a reference to the content below it and handling of resize before jumping back to it is more likely than with the primary cursor, no reflow is performed for the saved cursor The primary cursor is unfortunately always reflowed automatically by shells like zsh, which has always caused problems like duplicating parts of the prompt and stretching it out "infinitely". Since the cursor is now reflowed appropriately the duplication of the shell prompt should be reduced, however it is possible that the shell moves the cursor up one line after it has already been reflowed, which will cause a line of history to be deleted if there is no duplicated prompt line above the reflowed prompt. Since this behavior is identical in VTE and Kitty, no attempt is made to work around it in this patch. Fixes #3584.
Diffstat (limited to 'alacritty_terminal/tests')
0 files changed, 0 insertions, 0 deletions