From 5ec96e5d9a321a654777449bcd597ebabfaa6ffa Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Sun, 7 Mar 2021 19:04:34 -0500 Subject: reorganize a bit --- src/lib.rs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/lib.rs') 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"; -- cgit v1.2.3-54-g00ecf