File: gennerdfonts.rs

package info (click to toggle)
rust-termwiz 0.22.0-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 4,036 kB
  • sloc: sh: 10,450; makefile: 18
file content (12 lines) | stat: -rw-r--r-- 308 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
//! 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=\"nerdfont big\">&#x{:x};</span>|{}|",
            c as u32, label
        );
    }
}