diff options
-rw-r--r-- | helix-tui/src/terminal.rs | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/helix-tui/src/terminal.rs b/helix-tui/src/terminal.rs index 8b734275..d2a911cf 100644 --- a/helix-tui/src/terminal.rs +++ b/helix-tui/src/terminal.rs @@ -65,20 +65,6 @@ where viewport: Viewport, } -impl<B> Drop for Terminal<B> -where - B: Backend, -{ - fn drop(&mut self) { - // Attempt to restore the cursor state - if self.cursor_kind == CursorKind::Hidden { - if let Err(err) = self.show_cursor(CursorKind::Block) { - eprintln!("Failed to show the cursor: {}", err); - } - } - } -} - impl<B> Terminal<B> where B: Backend, |