aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib.rs
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2021-03-07 18:07:13 -0500
committerJesse Luehrs <doy@tozt.net>2021-03-07 18:07:13 -0500
commit50b48b744fbe51accf19526a23b071ff43c9a24b (patch)
tree2187e9c4552f438ee032cb74ccced1f9b0736e3e /src/lib.rs
parent169af47fef8eb2a7d599ba21c1bd33eb4030267f (diff)
downloadtextmode-50b48b744fbe51accf19526a23b071ff43c9a24b.tar.gz
textmode-50b48b744fbe51accf19526a23b071ff43c9a24b.zip
a few renames
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib.rs b/src/lib.rs
index e63f208..7e1842b 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -9,7 +9,7 @@ pub use input::{Input, Key};
#[cfg(feature = "async")]
pub mod r#async;
#[cfg(feature = "async")]
-pub use r#async::Textmode;
+pub use r#async::Output;
const INIT: &[u8] = b"\x1b7\x1b[?47h\x1b[2J\x1b[H\x1b[?25h";
const DEINIT: &[u8] = b"\x1b[?47l\x1b8\x1b[?25h";
@@ -33,7 +33,7 @@ mod private {
}
}
-pub trait TextmodeExt: private::TextmodeImpl {
+pub trait Textmode: private::TextmodeImpl {
fn screen(&self) -> &vt100::Screen {
self.next().screen()
}