aboutsummaryrefslogtreecommitdiffstats
path: root/examples/basic.rs
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2021-03-06 18:56:18 -0500
committerJesse Luehrs <doy@tozt.net>2021-03-06 18:56:18 -0500
commitbd3c150d9276ffeee8cd9356ba91ad7f5b7fc180 (patch)
tree96bbb8070326d8fb6ee9ae9105c28960797b350b /examples/basic.rs
parenta4bca446049fd488af29dd5ec26f953845e8e4fe (diff)
downloadtextmode-bd3c150d9276ffeee8cd9356ba91ad7f5b7fc180.tar.gz
textmode-bd3c150d9276ffeee8cd9356ba91ad7f5b7fc180.zip
rename a bit
Diffstat (limited to 'examples/basic.rs')
-rw-r--r--examples/basic.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/basic.rs b/examples/basic.rs
index 150c9b0..a46d449 100644
--- a/examples/basic.rs
+++ b/examples/basic.rs
@@ -1,7 +1,7 @@
-use textmode::Textmode as _;
+use textmode::TextmodeExt as _;
fn main() {
- let mut tm = textmode::sync::Textmode::new().unwrap();
+ let mut tm = textmode::blocking::Textmode::new().unwrap();
tm.move_to(5, 5);
tm.write_str("foo");