diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/macros.rs | 18 | ||||
-rw-r--r-- | src/term/mod.rs | 4 |
2 files changed, 2 insertions, 20 deletions
diff --git a/src/macros.rs b/src/macros.rs index c96e6d64..00a9b529 100644 --- a/src/macros.rs +++ b/src/macros.rs @@ -41,24 +41,6 @@ macro_rules! err_print { } #[macro_export] -macro_rules! debug_println { - ($($t:tt)*) => { - if cfg!(debug_assertions) { - err_println!($($t)*); - } - } -} - -#[macro_export] -macro_rules! debug_print { - ($($t:tt)*) => { - if cfg!(debug_assertions) { - err_print!($($t)*); - } - } -} - -#[macro_export] macro_rules! maybe { ($option:expr) => { match $option { diff --git a/src/term/mod.rs b/src/term/mod.rs index 23d392e3..9d443723 100644 --- a/src/term/mod.rs +++ b/src/term/mod.rs @@ -1194,13 +1194,13 @@ impl ansi::Handler for Term { #[inline] fn configure_charset(&mut self, index: CharsetIndex, charset: StandardCharset) { - debug_println!("designate {:?} character set as {:?}", index, charset); + trace!("designate {:?} character set as {:?}", index, charset); self.charsets[index] = charset; } #[inline] fn set_active_charset(&mut self, index: CharsetIndex) { - debug_println!("Activate {:?} character set", index); + trace!("Activate {:?} character set", index); self.active_charset = index; } } |