aboutsummaryrefslogtreecommitdiffstats
path: root/examples/basic.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 /examples/basic.rs
parent169af47fef8eb2a7d599ba21c1bd33eb4030267f (diff)
downloadtextmode-50b48b744fbe51accf19526a23b071ff43c9a24b.tar.gz
textmode-50b48b744fbe51accf19526a23b071ff43c9a24b.zip
a few renames
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 a46d449..fb13d89 100644
--- a/examples/basic.rs
+++ b/examples/basic.rs
@@ -1,7 +1,7 @@
-use textmode::TextmodeExt as _;
+use textmode::Textmode as _;
fn main() {
- let mut tm = textmode::blocking::Textmode::new().unwrap();
+ let mut tm = textmode::blocking::Output::new().unwrap();
tm.move_to(5, 5);
tm.write_str("foo");