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