mirror of
https://github.com/FliegendeWurst/cursive.git
synced 2024-11-27 19:26:09 +00:00
Remove debug lines
This commit is contained in:
parent
fbd4dd97f1
commit
b14a2ff5e7
@ -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),
|
||||
}
|
||||
}
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user