diff options
author | Joe Wilm <joe@jwilm.com> | 2016-07-29 20:15:36 -0700 |
---|---|---|
committer | Joe Wilm <joe@jwilm.com> | 2016-07-29 20:15:36 -0700 |
commit | 3826fa68a07870427ace71ee886dc40fb5e46e95 (patch) | |
tree | ce93878d4f582dbc9a2b4e48cb5c5ac4cc6c0505 /src/ansi.rs | |
parent | 6d4e10e2b94e8257d76907d7e0b8ad0ab133fc43 (diff) | |
download | alacritty-3826fa68a07870427ace71ee886dc40fb5e46e95.tar.gz alacritty-3826fa68a07870427ace71ee886dc40fb5e46e95.zip |
Fix debug printing in ansi
It was always printing intead of only debug builds.
Diffstat (limited to 'src/ansi.rs')
-rw-r--r-- | src/ansi.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ansi.rs b/src/ansi.rs index 3df4cd34..e2aa2ef1 100644 --- a/src/ansi.rs +++ b/src/ansi.rs @@ -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; }, _ => { |