package core:terminal
⌘K
Ctrl+K
or
/
Overview
This package is for interacting with the command line interface of the system.
Index
Types (1)
Constants (0)
This section is empty.
Variables (2)
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.
Procedures
is_terminal ¶
Returns true if the file handle
is attached to a terminal.
This is normally true for os.stdout
and os.stderr
unless they are
redirected to a file.
Procedure Groups
This section is empty.
Source Files
- doc.odin
- internal.odin
- terminal.odin
- (hidden platform specific files)
Generation Information
Generated with odin version dev-2025-06 (vendor "odin") Windows_amd64 @ 2025-06-19 21:13:16.148685100 +0000 UTC