summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Tay <sam.chong.tay@gmail.com>2020-07-12 15:38:04 -0700
committerSam Tay <sam.chong.tay@gmail.com>2020-07-12 15:38:04 -0700
commit46fb16eb6ab267054ad7584ad9235e77228a8e4e (patch)
tree716b0138f559e45e5bdbf60252840ecf784ce3e5
parentf3f3bab692439803aa73a97315c9e2865ef262c6 (diff)
Use debug formattingdebug-termimad-panic
-rw-r--r--src/term.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/term.rs b/src/term.rs
index 407263a..0469c4d 100644
--- a/src/term.rs
+++ b/src/term.rs
@@ -48,7 +48,7 @@ impl Term {
/// Print text to stdout
pub fn print(&self, text: &str) {
println!("Terminal size: {:?}", crossterm::terminal::size());
- println!("Calling skin.print_text with: BEGIN\n{}\nEND", text);
+ println!("Calling skin.print_text with: BEGIN\n{:?}\nEND", text);
self.skin.print_text(text)
}