Nerd Fonts

Nerd Fonts support coming to Terminaux!

Terminaux also provides Nerd Fonts management for the text that you print to the console. This is to make applications look more understandable thanks to a large collection of Nerd Fonts glyphs that contain several different types of Nerd Fonts icons. Nerd Fonts in Terminaux is categorized into different types according to the glyph sets provided by the NF wiki:

In addition to these categories, there exists a category, called All, to represent basically the entire Nerd Fonts glyph list. You can use the cheat sheet to get the glyph names for your icon and either match them with the generated category class or with the symbol name that several functions, such as getting the Nerd Font character by category, take. These functions are found in the Terminaux.Writer.CyclicWriters.Renderer.Tools namespace as NerdFontsTools.

This class provides the following tools:

  • GetNerdFontChar()

  • GetNerdFontCharNames()

If you want to use the Nerd Fonts feature on your console application, make sure that you use a compatible font that supports Nerd Fonts glyphs, such as a recent version of Cascadia Code. Additionally, you can download a font off the NF repository.

Last updated