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 Drop for Terminal -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 Terminal where B: Backend,