docs: fix typo in terminal.rs (#1313)

This commit is contained in:
Jack Wills 2024-08-08 03:34:21 +01:00 committed by GitHub
parent ec88bb81e5
commit 3fdb5e8987
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -441,7 +441,7 @@ where
}
/// 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<()> {
self.set_cursor_position(Position { x, y })
}