Aptivi - Deprecated Manuals
ProjectsWebsiteBlog
Terminaux 2.x - Manual
Terminaux 2.x - Manual
  • 👋Welcome!
  • 🥛Breaking changes
    • ⬆️API v1.0
    • ⬆️API v2.0
  • Usage
    • 💡Preface
    • 🖥️Console Tools
      • ✅Console Checker
        • ☑️Console Size Requirements
      • 🔌Console Wrapper
      • ⌨️Interactive TUI
      • 🖊️Console Writers
      • 🌈Console Colors
      • 📺Console Screen
      • ☎️Console Resize Listener
      • 📽️Presentation System
    • 🖱️Input Reader
      • ⌨️Keybindings
      • 🔌Custom bindings
      • ⚙️Reader Settings
    • 🎨Color Sequences
      • ⛱️Color Model Conversions
      • 🧭Color Model Parsing
      • 🖌️Interop with System.Drawing.Color
      • 🎨Color Wheel
    • 🖊️Figlet Font Selector
  • Report an issue
  • Source code
  • Our projects
  • API Reference
Powered by GitBook
On this page
Edit on GitHub
  1. Usage

Figlet Font Selector

Select your favorite font from here!

The figlet font selector allows you to flexibly select a Figlet font provided by our own Figlet library, Figletize. It shows you a live preview of the font to show you how your selected font looks like prior to submission.

You can simply invoke the selector on your interactive console application by calling the below function like so:

string font = FigletSelector.PromptForFiglet();

Usually, this call is followed by getting a figlet font from the above variable and writing it using the WriteFiglet() function:

var figlet = FigletTools.GetFigletFont(font);
FigletColor.WriteFiglet("Hello!", figlet, ConsoleColors.Green);

Additionally, you can press S to write the desired font name and quickly switch to that font. If you want to cancel, you can press ESC.

More details about WriteFiglet() can be found in the below link:

🖊️
🖊️Console Writers