aboutsummaryrefslogtreecommitdiff
path: root/src/ansi.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/ansi.rs')
-rw-r--r--src/ansi.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ansi.rs b/src/ansi.rs
index 633a7e54..e5c129e3 100644
--- a/src/ansi.rs
+++ b/src/ansi.rs
@@ -249,6 +249,10 @@ pub enum Mode {
ShowCursor = 25,
/// ?1000
ReportMouseClicks = 1000,
+ /// ?1002
+ ReportMouseMotion = 1002,
+ /// ?1006
+ SgrMouse = 1006,
/// ?1049
SwapScreenAndSetRestoreCursor = 1049,
/// ?2004
@@ -267,6 +271,8 @@ impl Mode {
12 => Mode::BlinkingCursor,
25 => Mode::ShowCursor,
1000 => Mode::ReportMouseClicks,
+ 1002 => Mode::ReportMouseMotion,
+ 1006 => Mode::SgrMouse,
1049 => Mode::SwapScreenAndSetRestoreCursor,
2004 => Mode::BracketedPaste,
_ => return None