mirror of
https://github.com/bobwen-dev/hunter
synced 2025-04-12 00:55:41 +02:00
readded call to reset on quit
This commit is contained in:
parent
cec03fce88
commit
ba6a69a4c0
@ -38,7 +38,7 @@ impl Screen {
|
|||||||
self.screen.lock().map(|mut screen| std::mem::drop(screen.take())).ok();
|
self.screen.lock().map(|mut screen| std::mem::drop(screen.take())).ok();
|
||||||
|
|
||||||
// Terminal stays fucked without this. Why?
|
// Terminal stays fucked without this. Why?
|
||||||
//Ok(std::process::Command::new("reset").arg("-I").spawn()).log();
|
Ok(std::process::Command::new("reset").arg("-I").spawn()).log();
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn reset_screen(&mut self) -> HResult<()> {
|
pub fn reset_screen(&mut self) -> HResult<()> {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user