diff options
author | Jesse Luehrs <doy@tozt.net> | 2021-03-07 18:38:22 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2021-03-07 18:38:22 -0500 |
commit | ae4f5469711705e2686fd2be65e4fbc700f93e12 (patch) | |
tree | 2d525a7544e6ddfcd4851aedbfa219ad85e965e4 /src/lib.rs | |
parent | 4a3d1dd61bd2e32b26206f035406fd655d040087 (diff) | |
download | textmode-ae4f5469711705e2686fd2be65e4fbc700f93e12.tar.gz textmode-ae4f5469711705e2686fd2be65e4fbc700f93e12.zip |
separate out the guards from the main structs
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -4,12 +4,12 @@ pub mod color; pub mod blocking; mod input; -pub use input::{Input, Key}; +pub use input::{Input, Key, RawGuard}; #[cfg(feature = "async")] pub mod r#async; #[cfg(feature = "async")] -pub use r#async::Output; +pub use r#async::{Output, ScreenGuard}; const INIT: &[u8] = b"\x1b7\x1b[?47h\x1b[2J\x1b[H\x1b[?25h"; const DEINIT: &[u8] = b"\x1b[?47l\x1b8\x1b[?25h"; |