diff options
Diffstat (limited to 'src/ansi.rs')
-rw-r--r-- | src/ansi.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ansi.rs b/src/ansi.rs index eaa34430..c9341620 100644 --- a/src/ansi.rs +++ b/src/ansi.rs @@ -239,6 +239,8 @@ pub enum Mode { BlinkingCursor = 12, /// ?25 ShowCursor = 25, + /// ?1000 + ReportMouseClicks = 1000, /// ?1049 SwapScreenAndSetRestoreCursor = 1049, } @@ -254,6 +256,7 @@ impl Mode { 6 => Mode::Origin, 12 => Mode::BlinkingCursor, 25 => Mode::ShowCursor, + 1000 => Mode::ReportMouseClicks, 1049 => Mode::SwapScreenAndSetRestoreCursor, _ => return None }) |