Cleaned up warnings

This commit is contained in:
2025-03-23 17:41:12 -04:00
parent 32ec62b52f
commit 937bbbacdd
18 changed files with 23 additions and 288 deletions

View File

@@ -37,6 +37,8 @@ pub fn save_termios() {
});
}
}
#[allow(static_mut_refs)]
pub fn get_saved_termios() -> Option<Termios> {
unsafe {
// This is only used when the shell exits so it's fine