mirror of
https://github.com/FliegendeWurst/cursive.git
synced 2024-11-08 18:30:40 +00:00
Don't print "\x1B[?1002h" on windows (#384)
This commit is contained in:
parent
af5bd32eeb
commit
1404226c33
@ -72,6 +72,7 @@ impl Backend {
|
|||||||
// This asks the terminal to provide us with mouse drag events
|
// This asks the terminal to provide us with mouse drag events
|
||||||
// (Mouse move when a button is pressed).
|
// (Mouse move when a button is pressed).
|
||||||
// Replacing 1002 with 1003 would give us ANY mouse move.
|
// Replacing 1002 with 1003 would give us ANY mouse move.
|
||||||
|
#[cfg(not(windows))]
|
||||||
print!("\x1B[?1002h");
|
print!("\x1B[?1002h");
|
||||||
stdout().flush()?;
|
stdout().flush()?;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user