aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib.rs
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2021-03-07 19:04:34 -0500
committerJesse Luehrs <doy@tozt.net>2021-03-07 19:04:34 -0500
commit5ec96e5d9a321a654777449bcd597ebabfaa6ffa (patch)
tree3e59cb73a6ecb1c13a64768b1761ec4423637328 /src/lib.rs
parent33613d4a93bf4c0a68a38ab492688305c8e6673d (diff)
downloadtextmode-5ec96e5d9a321a654777449bcd597ebabfaa6ffa.tar.gz
textmode-5ec96e5d9a321a654777449bcd597ebabfaa6ffa.zip
reorganize a bit
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/lib.rs b/src/lib.rs
index da46ba6..1023167 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -3,13 +3,12 @@
pub mod color;
pub mod blocking;
-mod input;
-pub use input::{Input, Key, RawGuard};
+pub use crate::blocking::input::Key;
#[cfg(feature = "async")]
-mod r#async;
+mod output;
#[cfg(feature = "async")]
-pub use r#async::{Output, ScreenGuard};
+pub use output::{Output, ScreenGuard};
const INIT: &[u8] = b"\x1b7\x1b[?47h\x1b[2J\x1b[H\x1b[?25h";
const DEINIT: &[u8] = b"\x1b[?47l\x1b8\x1b[?25h";