package core:terminal
⌘K
Ctrl+K
or
/
Overview
Interaction with the command line interface (CLI) of the system.
Packages 1
| ansi | Constant references to many widely-supported ANSI escape codes. |
Index
Types (1)
Constants (0)
This section is empty.
Variables (3)
Procedures (1)
Procedure Groups (0)
This section is empty.
Types
Color_Depth ¶
Color_Depth :: enum int { None, // No color support Three_Bit, // 8 colors Four_Bit, // 16 colors Eight_Bit, // 256 colors True_Color, // 24-bit true color }
This describes the range of colors that a terminal is capable of supporting.
Constants
This section is empty.
Variables
color_depth ¶
color_depth: Color_Depth
This value reports the color depth support as reported by the terminal at the start of the program.
color_enabled ¶
color_enabled: bool
This is true if the terminal is accepting any form of colored text output.
is_dumb ¶
is_dumb: bool
This is true if the terminal is dumb, i.e. cannot process ANSI control sequences.
Procedures
is_terminal ¶
@(require_results) is_terminal :: proc(f: $T) -> bool {…}
Procedure Groups
This section is empty.
Source Files
- internal_os.odin
- terminal.odin
- (hidden platform specific files)
Generation Information
Generated with odin version dev-2026-10 (vendor "odin") Windows_amd64 @ 2026-10-10 00:25:51.511820200 +0000 UTC