mirror of
https://github.com/alacritty/alacritty.git
synced 2024-11-11 13:51:01 -05:00
Fix bug in newline
The line should not be cleared.
This commit is contained in:
parent
5413f471c9
commit
9a7bfba93c
1 changed files with 0 additions and 1 deletions
|
@ -558,7 +558,6 @@ impl ansi::Handler for Term {
|
||||||
debug_println!("linefeed");
|
debug_println!("linefeed");
|
||||||
if self.cursor.line + 1 >= self.scroll_region.end {
|
if self.cursor.line + 1 >= self.scroll_region.end {
|
||||||
self.scroll(Line(1), ScrollDirection::Down);
|
self.scroll(Line(1), ScrollDirection::Down);
|
||||||
self.clear_line(ansi::LineClearMode::Right);
|
|
||||||
} else {
|
} else {
|
||||||
self.cursor.line += 1;
|
self.cursor.line += 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue