wip: fix for mouse capture bug

This commit is contained in:
Jack Wills
2023-02-28 04:10:31 +00:00
parent 846e0641d0
commit 31bfaa7a95
4 changed files with 78 additions and 55 deletions
+8
View File
@@ -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();