aboutsummaryrefslogtreecommitdiff
path: root/src/term.rs
diff options
context:
space:
mode:
authorJoe Wilm <joe@jwilm.com>2016-07-16 12:23:31 -0700
committerJoe Wilm <joe@jwilm.com>2016-07-16 12:23:31 -0700
commit9a7bfba93c68b8d3311879a35d77f37302217462 (patch)
tree1d5e8561be252fbcbbef957a64fe459022e146ae /src/term.rs
parent5413f471c96d6886d4811a0b1c334d21252545a1 (diff)
downloadalacritty-9a7bfba93c68b8d3311879a35d77f37302217462.tar.gz
alacritty-9a7bfba93c68b8d3311879a35d77f37302217462.zip
Fix bug in newline
The line should not be cleared.
Diffstat (limited to 'src/term.rs')
-rw-r--r--src/term.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/term.rs b/src/term.rs
index 35683bab..cf67a0e6 100644
--- a/src/term.rs
+++ b/src/term.rs
@@ -558,7 +558,6 @@ impl ansi::Handler for Term {
debug_println!("linefeed");
if self.cursor.line + 1 >= self.scroll_region.end {
self.scroll(Line(1), ScrollDirection::Down);
- self.clear_line(ansi::LineClearMode::Right);
} else {
self.cursor.line += 1;
}