Aptivi - Stable Manuals
ProjectsWebsiteBlog
Terminaux 7.0 Beta 2 - Manual
Terminaux 7.0 Beta 2 - 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
        • Input Modules
      • Reader State
      • Reader Settings
      • Syntax Highlighting
      • Pointer Events
    • Color Sequences
      • Color Model Conversions
      • Color Model Parsing
      • Interop with System.Drawing.Color
    • Interop with Spectre.Console
  • Report an issue
  • Source code
  • API Reference
Powered by GitBook
On this page
Edit on GitHub
  1. Usage

Interop with Spectre.Console

Can Terminaux and Spectre.Console be together?

If you are using , you might notice that there are some features that are roughly similar to what Terminaux implements if we're talking about ideas and concepts. While Spectre.Console focuses on CLI, Terminaux focuses on both CLI and TUI. However, the graphical part of Spectre.Console, such as table rendering, is implemented differently in both libraries.

In a separate library, , you can perform translation operations. Please note that, when installing this package, Spectre.Console is also installed as a dependency.

You can translate Terminaux's renderables into Spectre.Console's renderables, but you can't translate the other way around due to how Spectre.Console implements them. The following translation methods are supported:

Mark ->

BoxFrame ->

You can't use Terminaux's writers to write the resulting Spectre's . You'll have to use the class.

Markup
Panel
IRenderable
AnsiConsole
Spectre.Console
Terminaux.Spectre