diff options
Diffstat (limited to 'helix-tui/src/backend/mod.rs')
-rw-r--r-- | helix-tui/src/backend/mod.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/helix-tui/src/backend/mod.rs b/helix-tui/src/backend/mod.rs index ed125200..5cf21768 100644 --- a/helix-tui/src/backend/mod.rs +++ b/helix-tui/src/backend/mod.rs @@ -2,6 +2,7 @@ use std::io; use crate::buffer::Cell; use crate::layout::Rect; +use crate::terminal::CursorKind; #[cfg(feature = "crossterm")] mod crossterm; @@ -16,7 +17,7 @@ pub trait Backend { where I: Iterator<Item = (u16, u16, &'a Cell)>; fn hide_cursor(&mut self) -> Result<(), io::Error>; - fn show_cursor(&mut self) -> Result<(), io::Error>; + fn show_cursor(&mut self, kind: CursorKind) -> Result<(), io::Error>; fn get_cursor(&mut self) -> Result<(u16, u16), io::Error>; fn set_cursor(&mut self, x: u16, y: u16) -> Result<(), io::Error>; fn clear(&mut self) -> Result<(), io::Error>; |