From fae35e2ea11a872e8204e5a0dd114f7c2694cf42 Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Sun, 24 Jul 2016 07:07:21 -0600 Subject: [PATCH] Fix RawTerminal drop --- src/raw.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/raw.rs b/src/raw.rs index 2bf96e7..8d4a4ff 100644 --- a/src/raw.rs +++ b/src/raw.rs @@ -13,7 +13,7 @@ pub struct RawTerminal { #[cfg(target_os = "redox")] impl Drop for RawTerminal { fn drop(&mut self) { - write!(self, csi!("?82h")).unwrap(); + write!(self, csi!("?82l")).unwrap(); } }