crossterm/cursor/
sys.rs

1//! This module provides platform related functions.
2
3#[cfg(unix)]
4#[cfg(feature = "events")]
5pub use self::unix::position;
6#[cfg(windows)]
7#[cfg(feature = "events")]
8pub use self::windows::position;
9#[cfg(windows)]
10pub(crate) use self::windows::{
11    move_down, move_left, move_right, move_to, move_to_column, move_to_next_line,
12    move_to_previous_line, move_to_row, move_up, restore_position, save_position, show_cursor,
13};
14
15#[cfg(windows)]
16pub(crate) mod windows;
17
18#[cfg(unix)]
19#[cfg(feature = "events")]
20pub(crate) mod unix;