diff options
author | Jesse Luehrs <doy@tozt.net> | 2021-03-06 18:56:18 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2021-03-06 18:56:18 -0500 |
commit | bd3c150d9276ffeee8cd9356ba91ad7f5b7fc180 (patch) | |
tree | 96bbb8070326d8fb6ee9ae9105c28960797b350b /src/lib.rs | |
parent | a4bca446049fd488af29dd5ec26f953845e8e4fe (diff) | |
download | textmode-bd3c150d9276ffeee8cd9356ba91ad7f5b7fc180.tar.gz textmode-bd3c150d9276ffeee8cd9356ba91ad7f5b7fc180.zip |
rename a bit
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -1,8 +1,11 @@ pub mod color; +pub mod blocking; + #[cfg(feature = "async")] pub mod r#async; -pub mod sync; +#[cfg(feature = "async")] +pub use r#async::Textmode; mod private { pub trait TextmodeImpl { @@ -23,7 +26,7 @@ mod private { } } -pub trait Textmode: private::TextmodeImpl { +pub trait TextmodeExt: private::TextmodeImpl { fn cursor_position(&self) -> (u16, u16) { self.next().screen().cursor_position() } |