diff options
author | Jesse Luehrs <doy@tozt.net> | 2021-12-09 23:09:26 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2021-12-09 23:09:26 -0500 |
commit | 9133c8c2e68e9efdd4d84c462a3439062c324976 (patch) | |
tree | 27a5fed88cb8b34a778f57991093b2b15736e081 | |
parent | c02cd7278b23ed0423f8c798a939aff05b69039c (diff) | |
download | textmode-9133c8c2e68e9efdd4d84c462a3439062c324976.tar.gz textmode-9133c8c2e68e9efdd4d84c462a3439062c324976.zip |
also enable alternate scroll mode
-rw-r--r-- | src/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -85,8 +85,8 @@ mod input; #[cfg(feature = "async")] pub use input::{Input, RawGuard}; -const INIT: &[u8] = b"\x1b7\x1b[?47h\x1b[2J\x1b[H\x1b[?25h"; -const DEINIT: &[u8] = b"\x1b[?47l\x1b8\x1b[?25h"; +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"; /// Provides the methods used to manipulate the in-memory screen. pub trait Textmode: private::Output { |