kaycxx-term
C++ terminal library
Loading...
Searching...
No Matches
ansi_mode.hpp
Go to the documentation of this file.
1// SPDX-FileCopyrightText: 2026 Klaus Reimer <k@ailis.de>
2// SPDX-License-Identifier: MIT
3
4#pragma once
5
11namespace kaycxx::term {
12
16enum class ansi_mode {
19
21 none,
22
25
28
30 full
31};
32
33} // namespace kaycxx::term
ansi_mode
Selects which ANSI/VT formatting and terminal commands are emitted.
Definition ansi_mode.hpp:16
@ 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.