diff --git a/src/common/screen/screen.rs b/src/common/screen/screen.rs index 1a2b5e1..74b5e1c 100644 --- a/src/common/screen/screen.rs +++ b/src/common/screen/screen.rs @@ -93,7 +93,7 @@ impl Screen } // this will disable the drop which will cause raw modes not to be undone on drop of `Screen`. - pub fn disable_drop(&self) + pub fn disable_drop(&mut self) { self.drop = false; }