mirror of
https://github.com/alacritty/alacritty.git
synced 2026-12-05 10:45:02 +03:00
Fix bug in input
In applications with a scroll region, newlines were not being properly added because the scroll region was ignored.
This commit is contained in:
1 parent
ad4d704ab3
commit
1fe4edf449
1 file changed
+1
-1
+1
-1
@@ -405,7 +405,7 @@ impl ansi::Handler for Term {
|
||||
debug_print!("{}", c);
|
||||
if self.cursor.col == self.grid.num_cols() {
|
||||
debug_println!("wrapping");
|
||||
if (self.cursor.line + 1) == self.grid.num_lines() {
|
||||
if (self.cursor.line + 1) >= self.scroll_region.end {
|
||||
self.linefeed();
|
||||
} else {
|
||||
self.cursor.line += 1;
|
||||
|
||||
Reference in new issue
Block a user