aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/lib.rs b/src/lib.rs
index fcee1e9..4b09880 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -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()
}