diff options
author | Jesse Luehrs <doy@tozt.net> | 2021-11-13 15:22:39 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2021-11-13 15:22:39 -0500 |
commit | 45af291f81f33f18080532d4aacaa27074503d20 (patch) | |
tree | 41d2ebeb9abcf7ed7c83ef5533dbad151aba7b15 | |
parent | 55e6cf066b0e606eaa89a59e4406d35a324c1fb8 (diff) | |
download | textmode-45af291f81f33f18080532d4aacaa27074503d20.tar.gz textmode-45af291f81f33f18080532d4aacaa27074503d20.zip |
also use the textmode::Color alias in tests
-rw-r--r-- | examples/basic.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/basic.rs b/examples/basic.rs index 49f56bc..624292f 100644 --- a/examples/basic.rs +++ b/examples/basic.rs @@ -15,7 +15,7 @@ async fn run( tm.set_fgcolor(textmode::color::GREEN); tm.write_str("bar"); tm.move_to(11, 11); - tm.set_fgcolor(vt100::Color::Default); + tm.set_fgcolor(textmode::Color::Default); tm.write_str("baz"); input.read_key().await?; tm.refresh().await?; @@ -48,7 +48,7 @@ fn main() { tm.set_fgcolor(textmode::color::GREEN); tm.write_str("bar"); tm.move_to(11, 11); - tm.set_fgcolor(vt100::Color::Default); + tm.set_fgcolor(textmode::Color::Default); tm.write_str("baz"); input.read_key().unwrap(); tm.refresh().unwrap(); |