aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2021-12-10 04:37:53 -0500
committerJesse Luehrs <doy@tozt.net>2021-12-10 04:37:53 -0500
commitfae5bdb75c7cfd6d84f066df87d412400230736e (patch)
treebd55efc8300de8068cf4f115bad63f4e1c6ec7e1 /src
parent9133c8c2e68e9efdd4d84c462a3439062c324976 (diff)
downloadtextmode-fae5bdb75c7cfd6d84f066df87d412400230736e.tar.gz
textmode-fae5bdb75c7cfd6d84f066df87d412400230736e.zip
actually, i think this will be confusing to do unconditionally
it doesn't actually send distinguishable escape codes, it just sends the same escape codes as the up and down arrows, which might be doing something else and be confusing to map to the scroll wheel
Diffstat (limited to 'src')
-rw-r--r--src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 281d19b..6c515c6 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -85,8 +85,8 @@ mod input;
#[cfg(feature = "async")]
pub use input::{Input, RawGuard};
-const INIT: &[u8] = b"\x1b7\x1b[?1007h\x1b[?47h\x1b[2J\x1b[H\x1b[?25h";
-const DEINIT: &[u8] = b"\x1b[?47l\x1b[?1007l\x1b8\x1b[?25h";
+const INIT: &[u8] = b"\x1b7\x1b[?47h\x1b[2J\x1b[H\x1b[?25h";
+const DEINIT: &[u8] = b"\x1b[?47l\x1b8\x1b[?25h";
/// Provides the methods used to manipulate the in-memory screen.
pub trait Textmode: private::Output {