Crates.io | crossterm_cursor |
lib.rs | crossterm_cursor |
version | 0.4.0 |
source | src |
created_at | 2019-01-27 21:14:14.023498 |
updated_at | 2019-10-21 18:37:48.985566 |
description | A cross-platform library for moving the terminal cursor. |
homepage | |
repository | https://github.com/crossterm-rs/crossterm-cursor |
max_upload_size | |
id | 110997 |
size | 35,602 |
The crossterm_cursor
crate is deprecated and no longer maintained. The GitHub repository will
be archived soon. All the code is being moved to the crossterm
crate. You can learn more in the
Merge sub-crates to the crossterm crate
issue.
This crate allows you to work with the terminal cursor. It supports all UNIX and Windows terminals down to Windows 7 (not all terminals are tested, see the Tested Terminals for more info).
crossterm_cursor
is a sub-crate of the crossterm crate. You can use it
directly, but it's highly recommended to use the crossterm crate with
the cursor
feature enabled.
[dependencies]
# All crossterm features are enabled by default.
crossterm = "0.11"
use std::io::{stdout, Write};
use crossterm::{execute, Goto, Result};
fn main() -> Result<()> {
execute!(stdout(), Goto(10, 10))
}
This project is licensed under the MIT License - see the LICENSE file for details