Fix RawTerminal drop
This commit is contained in:
parent
011b26b5c9
commit
fae35e2ea1
|
@ -13,7 +13,7 @@ pub struct RawTerminal<W: Write> {
|
||||||
#[cfg(target_os = "redox")]
|
#[cfg(target_os = "redox")]
|
||||||
impl<W: Write> Drop for RawTerminal<W> {
|
impl<W: Write> Drop for RawTerminal<W> {
|
||||||
fn drop(&mut self) {
|
fn drop(&mut self) {
|
||||||
write!(self, csi!("?82h")).unwrap();
|
write!(self, csi!("?82l")).unwrap();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue