aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2016-08-06 02:18:38 -0400
committerTeddy Wing2016-08-06 02:18:38 -0400
commitbcddc44e2f034c1b7ef0dfb2037184b96080a1ae (patch)
treeb0b609d833d662f965b2de0615fe56c6d16e5817
parent8ce4846a07e1362c61d8f3c7ae969c0fe4f76c95 (diff)
downloadPassextract-bcddc44e2f034c1b7ef0dfb2037184b96080a1ae.tar.bz2
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.
-rw-r--r--src/main.rs2
1 files changed, 1 insertions, 1 deletions
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 };