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

13 lines
302 B
Rust
Raw Normal View History

//! 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
);
}
}