mirror of
https://github.com/ratatui-org/ratatui
synced 2024-11-10 07:04:17 +00:00
docs: fix typo in terminal.rs (#1313)
This commit is contained in:
parent
ec88bb81e5
commit
3fdb5e8987
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue