Aptivi - Manual
ProjectsWebsiteBlog
Terminaux - Manual
Terminaux - Manual
  • Welcome!
  • Breaking changes
    • API v1.0
    • API v2.0
    • API v3.0
    • API v4.0
    • API v5.0
    • API v6.0
    • API v7.0
  • Usage
    • Preface
    • Console Tools
      • Console Checker
        • Console Size Requirements
      • Image Rendering
        • Icons
      • Console Writers
        • Individual Writers
        • Cyclic Writers
          • Geometric Shapes
          • Charts
          • Text
          • Artistic
          • Progress Bars
          • Lists and Calendars
          • Miscellaneous
        • Informational Boxes
      • Textual UI
        • Interactive TUI
        • Console Screen
        • Console Resize Listener
        • VT Sequences
      • Console Wrapper
      • Console Colors
      • Color Templates
      • Presentation System
      • Console Extensions
      • Nerd Fonts
      • Terminal Info
      • Test Fixtures
      • Terminal Structures
      • Console Logging
    • Input Reader
      • Shells
        • Shell Structure
          • Help System
          • Command Parsing
          • Command Information
          • Command Switches
          • Shell Presets
          • Command Aliasing
      • Other Input
        • Keybindings
        • Choice-based inputs
        • Editors and Viewers
        • Figlet Font Selector
        • Color Wheel
        • Spinner Selector
      • Reader State
      • Reader Settings
      • Syntax Highlighting
      • Pointer Events
    • Color Sequences
      • Color Model Conversions
      • Color Model Parsing
      • Interop with System.Drawing.Color
  • Report an issue
  • Source code
  • API Reference
Powered by GitBook
On this page
Edit on GitHub
  1. Usage
  2. Input Reader
  3. Other Input

Figlet Font Selector

Select your favorite font from here!

Last updated 5 months ago

The figlet font selector allows you to flexibly select a Figlet font provided by the Figlet part of Textify, powered by the feature. It shows you a live preview of the font to show you how your selected font looks like prior to submission.

FigletTextTools provides default figlet font settings.

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.

The following controls are available for the normal figlet font selector:

Key
Action

ENTER

Accept font selection

ESC

Discard changes

H

Help page

LEFT / WHEEL UP

Previous font

RIGHT / WHEEL DOWN

Next font

S

Select font from the infobox

SHIFT + S

Write font name

C

Shows the individual characters with the selected font

The following controls are available for the character showcase:

Key
Action

ENTER

Go back

LEFT / WHEEL UP

Previous character

RIGHT / WHEEL DOWN

Next character

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

Console Writers
textual UI