From 45af291f81f33f18080532d4aacaa27074503d20 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Sat, 13 Nov 2021 15:22:39 -0500 Subject: also use the textmode::Color alias in tests --- examples/basic.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples') 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(); -- cgit v1.2.3-54-g00ecf