diff options
author | Kirill Chibisov <wchibisovkirill@gmail.com> | 2019-11-17 03:04:16 +0300 |
---|---|---|
committer | Christian Duerr <contact@christianduerr.com> | 2019-11-17 01:04:16 +0100 |
commit | 495a6f3526f5127c342d67980d0335f1ed4e235b (patch) | |
tree | 548846bfec427e786a8d90abdacec4ffbd11eafe /alacritty_terminal/src/ansi.rs | |
parent | 48861e463311145a653350688dc4bad83a528d91 (diff) | |
download | alacritty-495a6f3526f5127c342d67980d0335f1ed4e235b.tar.gz alacritty-495a6f3526f5127c342d67980d0335f1ed4e235b.zip |
Fix cell reset not clearing flags and foreground
Fixes #2330.
Diffstat (limited to 'alacritty_terminal/src/ansi.rs')
-rw-r--r-- | alacritty_terminal/src/ansi.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/alacritty_terminal/src/ansi.rs b/alacritty_terminal/src/ansi.rs index 3cd03cbb..a889862f 100644 --- a/alacritty_terminal/src/ansi.rs +++ b/alacritty_terminal/src/ansi.rs @@ -328,8 +328,8 @@ pub trait Handler { /// Write clipboard data to child. fn write_clipboard<W: io::Write>(&mut self, _: u8, _: &mut W) {} - /// Run the dectest routine - fn dectest(&mut self) {} + /// Run the decaln routine. + fn decaln(&mut self) {} /// Push a title onto the stack fn push_title(&mut self) {} @@ -1134,7 +1134,7 @@ where b'7' => self.handler.save_cursor_position(), b'8' => { if !intermediates.is_empty() && intermediates[0] == b'#' { - self.handler.dectest(); + self.handler.decaln(); } else { self.handler.restore_cursor_position(); } |