Remove debug lines

This commit is contained in:
Alexandre Bury 2018-01-27 18:15:27 -08:00
parent fbd4dd97f1
commit b14a2ff5e7
2 changed files with 2 additions and 6 deletions

View File

@ -48,10 +48,6 @@ fn find_closest(color: &Color) -> i16 {
(16 + 36 * r + 6 * g + b) as i16
}
}
Color::RgbLowRes(r, g, b) => {
let a = i16::from(16 + 36 * r + 6 * g + b);
eprintln!("{:?} => {}", color, a);
a
}
Color::RgbLowRes(r, g, b) => i16::from(16 + 36 * r + 6 * g + b),
}
}

View File

@ -213,7 +213,7 @@ impl backend::Backend for Concrete {
}
fn with_color<F: FnOnce()>(&self, colors: ColorPair, f: F) {
eprintln!("Color used: {:?}", colors);
// eprintln!("Color used: {:?}", colors);
let current = self.current_style.get();
if current != colors {
self.set_colors(colors);