mirror of
https://github.com/wez/wezterm.git
synced 2024-11-10 15:04:32 +03:00
pretty print output in the debug overlay
This commit is contained in:
parent
27088fab28
commit
9db419a3f8
@ -143,7 +143,7 @@ pub fn show_debug_overlay(mut term: TermWizTerminal, gui_win: GuiWin) -> anyhow:
|
||||
let chunk = host.lua.load(&expr);
|
||||
match smol::block_on(chunk.eval_async::<Value>()) {
|
||||
Ok(result) => {
|
||||
let text = format!("{:?}", ValueWrapper(result));
|
||||
let text = format!("{:#?}", ValueWrapper(result));
|
||||
term.render(&[Change::Text(format!("{}\r\n", text.replace("\n", "\r\n")))])?;
|
||||
}
|
||||
Err(err) => {
|
||||
|
Loading…
Reference in New Issue
Block a user