Fix debug printing in ansi

It was always printing intead of only debug builds.
This commit is contained in:
Joe Wilm 2016-07-29 20:15:36 -07:00
parent 6d4e10e2b9
commit 3826fa68a0
1 changed files with 2 additions and 2 deletions

View File

@ -449,8 +449,8 @@ impl Parser {
'=' => sequence_complete!(set_keypad_application_mode),
'>' => sequence_complete!(unset_keypad_application_mode),
'P' | '_' | '^' | ']' | 'k' | '(' => {
println!("Entering EscapeOther");
print!("{:?}", c);
debug_println!("Entering EscapeOther");
debug_print!("{:?}", c);
self.state = State::EscapeOther;
},
_ => {