kaycxx-term
C++ terminal library
Loading...
Searching...
No Matches
Enumerations
ansi_mode.hpp File Reference

Defines ANSI control sequence handling modes. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum class  kaycxx::term::ansi_mode {
  automatic , none , formatting_only , commands_only ,
  full
}
 Selects which ANSI/VT formatting and terminal commands are emitted. More...
 

Detailed Description

Defines ANSI control sequence handling modes.

Enumeration Type Documentation

◆ ansi_mode

enum class kaycxx::term::ansi_mode
strong

Selects which ANSI/VT formatting and terminal commands are emitted.

Enumerator
automatic 

Detect terminal command support and honor color environment variables for formatting.

none 

Do not emit ANSI/VT formatting or terminal commands.

formatting_only 

Emit ANSI/VT formatting but no terminal commands.

commands_only 

Emit ANSI/VT terminal commands but no formatting.

full 

Emit all ANSI/VT formatting and terminal commands.