Merge pull request #32 from jackpot51/patch-1

Fix RawTerminal drop
This commit is contained in:
ticki 2016-07-24 15:35:03 +02:00 committed by GitHub
commit 1d63d09e27
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ pub struct RawTerminal<W: Write> {
#[cfg(target_os = "redox")]
impl<W: Write> Drop for RawTerminal<W> {
fn drop(&mut self) {
write!(self, csi!("?82h")).unwrap();
write!(self, csi!("?82l")).unwrap();
}
}