Fix RawTerminal drop

This commit is contained in:
Jeremy Soller 2016-07-24 07:07:21 -06:00 committed by GitHub
parent 011b26b5c9
commit fae35e2ea1
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();
}
}