aboutsummaryrefslogtreecommitdiff
path: root/src/terminal_modes.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/terminal_modes.rs')
-rw-r--r--src/terminal_modes.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/terminal_modes.rs b/src/terminal_modes.rs
index 953a5812..e07de629 100644
--- a/src/terminal_modes.rs
+++ b/src/terminal_modes.rs
@@ -1,5 +1,6 @@
use std::io::{self, Write};
+#[cfg(any(not(windows), test))]
const DISABLE_HOST_MOUSE_REPORTING_SEQUENCE: &[u8] =
b"\x1b[?1006l\x1b[?1016l\x1b[?1015l\x1b[?1005l\x1b[?1003l\x1b[?1002l\x1b[?1000l";