Position cursor via buffer
This commit is contained in:
parent
bbaea3b5bf
commit
cc2f102141
3 changed files with 51 additions and 9 deletions
|
|
@ -24,6 +24,7 @@ fn main() -> io::Result<()> {
|
|||
"Press any key to exit",
|
||||
ContentStyle::default().on_dark_blue(),
|
||||
);
|
||||
b.set_cursor(Some(Pos::new(16, 0)));
|
||||
|
||||
// Show the buffer's contents on screen
|
||||
term.present()?;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue