From 49380bffd24203f139dc32c7bdc9958e64d9dd4d Mon Sep 17 00:00:00 2001 From: Aleksey Kuznetsov Date: Wed, 16 Oct 2019 00:13:58 +0500 Subject: Add support for alternate scroll escape Fixes #2727. --- alacritty_terminal/src/ansi.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'alacritty_terminal/src/ansi.rs') diff --git a/alacritty_terminal/src/ansi.rs b/alacritty_terminal/src/ansi.rs index 493b02aa..d989b78e 100644 --- a/alacritty_terminal/src/ansi.rs +++ b/alacritty_terminal/src/ansi.rs @@ -408,6 +408,8 @@ pub enum Mode { ReportFocusInOut = 1004, /// ?1006 SgrMouse = 1006, + /// ?1007 + AlternateScroll = 1007, /// ?1049 SwapScreenAndSetRestoreCursor = 1049, /// ?2004 @@ -438,6 +440,7 @@ impl Mode { 1003 => Mode::ReportAllMouseMotion, 1004 => Mode::ReportFocusInOut, 1006 => Mode::SgrMouse, + 1007 => Mode::AlternateScroll, 1049 => Mode::SwapScreenAndSetRestoreCursor, 2004 => Mode::BracketedPaste, _ => { -- cgit