1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-27 07:18:13 +03:00
wezterm/termwiz/examples/gennerdfonts.rs

13 lines
302 B
Rust

//! This is used to generate a table in the wezterm docs
fn main() {
println!("| | |");
println!("|-|-|");
for &(label, c) in termwiz::nerdfonts::NERD_FONT_GLYPHS {
println!(
"|<span class=\"nf big\">&#x{:x};</span>|{}|",
c as u32, label
);
}
}