From e8f5463b7d1687a54db4e6938249a9710c528b43 Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Sat, 29 Jan 2022 05:19:08 -0700 Subject: [PATCH] adjust ls-fonts --text diagnostic output --- wezterm-gui/src/main.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/wezterm-gui/src/main.rs b/wezterm-gui/src/main.rs index 5fcacb9db..df9984907 100644 --- a/wezterm-gui/src/main.rs +++ b/wezterm-gui/src/main.rs @@ -733,19 +733,20 @@ pub fn run_ls_fonts(config: config::ConfigHandle, cmd: &LsFontsCommand) -> anyho if config.custom_block_glyphs { if let Some(block) = customglyph::BlockKey::from_str(&text) { println!( - "{:4} {:12} drawn by wezterm: {:?}", - cluster.text, escaped, block + "{:2} {:4} {:12} drawn by wezterm: {:?}", + info.cluster, cluster.text, escaped, block ); continue; } } println!( - "{:2} {:4} {:12} x_adv={:<2} glyph={:<4} {}\n{:38}{}", + "{:2} {:4} {:12} x_adv={:<2} cells={:<2} glyph={:<4} {}\n{:38}{}", info.cluster, text, escaped, info.x_advance.get(), + info.num_cells, info.glyph_pos, parsed.lua_name(), "",