From 1404226c33f68bb464e770190ed697252e303f31 Mon Sep 17 00:00:00 2001 From: Riey Date: Tue, 1 Oct 2019 03:24:34 +0900 Subject: [PATCH] Don't print "\x1B[?1002h" on windows (#384) --- src/backend/curses/pan.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/backend/curses/pan.rs b/src/backend/curses/pan.rs index 11decff..747e70f 100644 --- a/src/backend/curses/pan.rs +++ b/src/backend/curses/pan.rs @@ -72,6 +72,7 @@ impl Backend { // This asks the terminal to provide us with mouse drag events // (Mouse move when a button is pressed). // Replacing 1002 with 1003 would give us ANY mouse move. + #[cfg(not(windows))] print!("\x1B[?1002h"); stdout().flush()?;