Cleaned up warnings
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user