From bcddc44e2f034c1b7ef0dfb2037184b96080a1ae Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sat, 6 Aug 2016 02:18:38 -0400 Subject: knockout_cell: Use name instead of hex code byte Better readability and it's the same. It looked a little darker than white, that's why I changed it, but they're the same. --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/main.rs b/src/main.rs index 443acdc..f0a452a 100644 --- a/src/main.rs +++ b/src/main.rs @@ -22,7 +22,7 @@ fn main() { let mut term = Terminal::new().unwrap(); term.swap_buffers().unwrap(); - let knockout_cell = Cell::with_style(Color::Byte(0x07), Color::Black, Attr::Default); + let knockout_cell = Cell::with_style(Color::White, Color::Black, Attr::Default); let mut selection = Point { x: 0, y: 2 }; -- cgit v1.2.3