summaryrefslogtreecommitdiff
path: root/src/term/mod.rs
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-04-09 00:19:22 +0200
committerChristian Duerr <chrisduerr@users.noreply.github.com>2019-04-08 22:19:22 +0000
commitbc80a74a69b76eea401ff57edfbc852489586fb8 (patch)
treeada2768ad8205671b1ff70eb64753d482c8996f4 /src/term/mod.rs
parent090842bd8e8890c40cf40a4430bae1b073515c40 (diff)
downloadalacritty-bc80a74a69b76eea401ff57edfbc852489586fb8.tar.gz
alacritty-bc80a74a69b76eea401ff57edfbc852489586fb8.zip
Reset scrolling region when receiving RIS escape
Diffstat (limited to 'src/term/mod.rs')
-rw-r--r--src/term/mod.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/term/mod.rs b/src/term/mod.rs
index 5edef44f..61bc1509 100644
--- a/src/term/mod.rs
+++ b/src/term/mod.rs
@@ -1995,6 +1995,7 @@ impl ansi::Handler for Term {
self.cursor_style = None;
self.grid.reset(&Cell::default());
self.alt_grid.reset(&Cell::default());
+ self.scroll_region = Line(0)..self.grid.num_lines();
}
#[inline]