aboutsummaryrefslogtreecommitdiff
path: root/src/ansi.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/ansi.rs')
-rw-r--r--src/ansi.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ansi.rs b/src/ansi.rs
index a2adcf90..cca8fe28 100644
--- a/src/ansi.rs
+++ b/src/ansi.rs
@@ -302,6 +302,8 @@ pub enum Mode {
ReportMouseClicks = 1000,
/// ?1002
ReportMouseMotion = 1002,
+ /// ?1004
+ ReportFocusInOut = 1004,
/// ?1006
SgrMouse = 1006,
/// ?1049
@@ -325,6 +327,7 @@ impl Mode {
25 => Mode::ShowCursor,
1000 => Mode::ReportMouseClicks,
1002 => Mode::ReportMouseMotion,
+ 1004 => Mode::ReportFocusInOut,
1006 => Mode::SgrMouse,
1049 => Mode::SwapScreenAndSetRestoreCursor,
2004 => Mode::BracketedPaste,