diff options
author | Joe Wilm <joe@jwilm.com> | 2016-08-22 08:34:09 -0700 |
---|---|---|
committer | Joe Wilm <joe@jwilm.com> | 2016-08-22 08:34:09 -0700 |
commit | b325afe8d2d67a72e14f436fec2158e822db4e8e (patch) | |
tree | 474ceacccf6b23322374e1330f833c71ad9c1398 | |
parent | 5dfeb95fcb48e290ae99d6691ca1d1760d72a8db (diff) | |
download | alacritty-b325afe8d2d67a72e14f436fec2158e822db4e8e.tar.gz alacritty-b325afe8d2d67a72e14f436fec2158e822db4e8e.zip |
Term [unimplemented] prints to stderr in release
Previously these were only printed in debug mode, but they are nice to
have in release to see if something should be called that's not when an
application doesn't behave properly.
-rw-r--r-- | src/term.rs | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/term.rs b/src/term.rs index b7848844..aa004f1b 100644 --- a/src/term.rs +++ b/src/term.rs @@ -446,7 +446,7 @@ impl ansi::Handler for Term { #[inline] fn insert_blank(&mut self, num: usize) { - debug_println!("insert_blank: {}", num); + err_println!("[unimplemented] insert_blank: {}", num); } #[inline] @@ -475,17 +475,17 @@ impl ansi::Handler for Term { #[inline] fn identify_terminal(&mut self) { - debug_println!("[unimplemented] identify_terminal"); + err_println!("[unimplemented] identify_terminal"); } #[inline] fn move_down_and_cr(&mut self, lines: Line) { - debug_println!("[unimplemented] move_down_and_cr: {}", lines); + err_println!("[unimplemented] move_down_and_cr: {}", lines); } #[inline] fn move_up_and_cr(&mut self, lines: Line) { - debug_println!("[unimplemented] move_up_and_cr: {}", lines); + err_println!("[unimplemented] move_up_and_cr: {}", lines); } #[inline] @@ -539,17 +539,17 @@ impl ansi::Handler for Term { #[inline] fn substitute(&mut self) { - debug_println!("[unimplemented] substitute"); + err_println!("[unimplemented] substitute"); } #[inline] fn newline(&mut self) { - debug_println!("[unimplemented] newline"); + err_println!("[unimplemented] newline"); } #[inline] fn set_horizontal_tabstop(&mut self) { - debug_println!("[unimplemented] set_horizontal_tabstop"); + err_println!("[unimplemented] set_horizontal_tabstop"); } #[inline] @@ -606,27 +606,27 @@ impl ansi::Handler for Term { #[inline] fn delete_chars(&mut self, count: Column) { - debug_println!("[unimplemented] delete_chars: {}", count); + err_println!("[unimplemented] delete_chars: {}", count); } #[inline] fn move_backward_tabs(&mut self, count: i64) { - debug_println!("[unimplemented] move_backward_tabs: {}", count); + err_println!("[unimplemented] move_backward_tabs: {}", count); } #[inline] fn move_forward_tabs(&mut self, count: i64) { - debug_println!("[unimplemented] move_forward_tabs: {}", count); + err_println!("[unimplemented] move_forward_tabs: {}", count); } #[inline] fn save_cursor_position(&mut self) { - debug_println!("[unimplemented] save_cursor_position"); + err_println!("[unimplemented] save_cursor_position"); } #[inline] fn restore_cursor_position(&mut self) { - debug_println!("[unimplemented] restore_cursor_position"); + err_println!("[unimplemented] restore_cursor_position"); } #[inline] @@ -681,12 +681,12 @@ impl ansi::Handler for Term { #[inline] fn clear_tabs(&mut self, mode: ansi::TabulationClearMode) { - debug_println!("[unimplemented] clear_tabs: {:?}", mode); + err_println!("[unimplemented] clear_tabs: {:?}", mode); } #[inline] fn reset_state(&mut self) { - debug_println!("[unimplemented] reset_state"); + err_println!("[unimplemented] reset_state"); } #[inline] |