wip: fix for mouse capture bug
This commit is contained in:
@@ -149,6 +149,14 @@ async fn main() {
|
||||
.await;
|
||||
}
|
||||
}
|
||||
|
||||
// let mut child = std::process::Command::new("tput").arg("reset").spawn().unwrap_or_else(|e| panic!("Could not run tput: {}", e));
|
||||
// let result = child.wait().unwrap_or_else(|e| panic!("Could not wait for tput process: {}", e));
|
||||
|
||||
// if ! result.success() {
|
||||
// panic!("tput failed with error code {}", result.code().unwrap());
|
||||
// }
|
||||
|
||||
// Clear screen
|
||||
// std::io::stdout().lock().flush().unwrap_or(());
|
||||
// std::io::stdout().lock().write(b"").unwrap_or_default();
|
||||
|
||||
Reference in New Issue
Block a user