core/terminal

terminal

Types

1

Color_Depth

Color_Depth :: enum int { None = 0, // No color support Three_Bit = 1, // 8 colors Four_Bit = 2, // 16 colors Eight_Bit = 3, // 256 colors True_Color = 4, // 24-bit true color }Source

This describes the range of colors that a terminal is capable of supporting.

Variables

2

Procedures

8

is_terminal

is_terminal :: proc(f: T) -> (bool)Source

Returns true if the File is attached to a terminal.

This is normally true for os.stdout and os.stderr unless they are redirected to a file.

Reference search

Find anything

Documentation preferences

Settings

System theme variants

Used only while Theme is set to System.