mirror of
https://github.com/alacritty/alacritty.git
synced 2024-11-03 04:34:21 -05:00
parent
6de7ee0c51
commit
071c72b3cd
1 changed files with 6 additions and 2 deletions
|
@ -1736,7 +1736,9 @@ impl ansi::Handler for Term {
|
|||
match mode {
|
||||
ansi::Mode::SwapScreenAndSetRestoreCursor => {
|
||||
self.save_cursor_position();
|
||||
self.swap_alt();
|
||||
if !self.alt {
|
||||
self.swap_alt();
|
||||
}
|
||||
self.save_cursor_position();
|
||||
},
|
||||
ansi::Mode::ShowCursor => self.mode.insert(mode::SHOW_CURSOR),
|
||||
|
@ -1763,7 +1765,9 @@ impl ansi::Handler for Term {
|
|||
match mode {
|
||||
ansi::Mode::SwapScreenAndSetRestoreCursor => {
|
||||
self.restore_cursor_position();
|
||||
self.swap_alt();
|
||||
if self.alt {
|
||||
self.swap_alt();
|
||||
}
|
||||
self.restore_cursor_position();
|
||||
},
|
||||
ansi::Mode::ShowCursor => self.mode.remove(mode::SHOW_CURSOR),
|
||||
|
|
Loading…
Reference in a new issue