mirror of
https://github.com/ratatui/ratatui.git
synced 2025-10-02 15:25:54 +00:00
docs: fix typo in terminal.rs (#1313)
This commit is contained in:
parent
ec88bb81e5
commit
3fdb5e8987
@ -441,7 +441,7 @@ where
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// Sets the cursor position.
|
/// Sets the cursor position.
|
||||||
#[deprecated = "the method aet_cursor_position indicates more clearly what about the cursor to set"]
|
#[deprecated = "the method set_cursor_position indicates more clearly what about the cursor to set"]
|
||||||
pub fn set_cursor(&mut self, x: u16, y: u16) -> io::Result<()> {
|
pub fn set_cursor(&mut self, x: u16, y: u16) -> io::Result<()> {
|
||||||
self.set_cursor_position(Position { x, y })
|
self.set_cursor_position(Position { x, y })
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user