summaryrefslogtreecommitdiff
path: root/alacritty_terminal/src/panic.rs
diff options
context:
space:
mode:
authorChristian Duerr <chrisduerr@users.noreply.github.com>2019-08-04 19:40:57 +0000
committerGitHub <noreply@github.com>2019-08-04 19:40:57 +0000
commitddee14a6ef6e4c0621a2683b34aa25b3971155ef (patch)
treea1cba57f3fbb088457473577a23699e7cf89e5b8 /alacritty_terminal/src/panic.rs
parente1892ee92ab6c826787e19c7d55de3f4b40e16a8 (diff)
downloadalacritty-ddee14a6ef6e4c0621a2683b34aa25b3971155ef.tar.gz
alacritty-ddee14a6ef6e4c0621a2683b34aa25b3971155ef.zip
Fix lines in last line not rendered when scrolled up
Instead of creating the rectangles for lines after the line is completed, the rectangle is now initialized as soon as it is started. Then when following cells also contain the same line type, the rectangle is updated. This resolves the problem of having to finish the last line when it ends in the last non-empty column in the last line, since the render iterator only returns non-empty cells and we never get the information that the underline has ended. Fixes #2680.
Diffstat (limited to 'alacritty_terminal/src/panic.rs')
0 files changed, 0 insertions, 0 deletions