fuzion-lang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.

terminal

terminal

terminal:Any is[Unit Type][src]
terminal -- unit type feature providing ANSI terminal control codes

Terminal provides constants to modify the text output style and color.

Thanks to Bruno Penteado who collected these codes at

https://gist.github.com/bcap/5682077#file-terminal-control-sh

but this also includes input from

https://en.wikipedia.org/wiki/ANSI_escape_code

and

man console_codes

Constructors

raw:Any is[src]
raw codes not surrounded by 'csi' and "m"

Functions

background_black => String[src]
background_blue => String[src]
background_bright_black => String[src]
98
99
background_bright_blue => String[src]
background_bright_cyan => String[src]
background_bright_green => String[src]
background_bright_purple => String[src]
background_bright_red => String[src]
background_bright_white => String[src]
background_bright_yellow => String[src]
background_cyan => String[src]
background_green => String[src]
background_purple => String[src]
background_red => String[src]
background_regular_color => String[src]
background_white => String[src]
background_yellow => String[src]
black => String[src]
blue => String[src]
bold => String[src]
bright_black => String[src]
76..89
bright_blue => String[src]
bright_cyan => String[src]
bright_green => String[src]
bright_purple => String[src]
bright_red => String[src]
bright_white => String[src]
bright_yellow => String[src]
clear_line => String[src]
clear_screen => String[src]
crossed_out => String[src]
csi => String[src]
control sequence introducer
cursor_backward(n i32) => String[src]
cursor_down(n i32) => String[src]
cursor_forward(n i32) => String[src]
cursor_up(n i32) => String[src]
cyan => String[src]
default_underline_color => String[src]
dime => String[src]
disable_proportional_spacing => String[src]
double_underline => String[src]
encircled => String[src]
erase_end_of_line => String[src]
font_0 => String[src]
font_1 => String[src]
font_2 => String[src]
font_3 => String[src]
font_4 => String[src]
font_5 => String[src]
font_6 => String[src]
font_7 => String[src]
font_8 => String[src]
font_9 => String[src]
fraktur => String[src]
framed => String[src]
green => String[src]
ideogram_double_overline => String[src]
ideogram_double_underline => String[src]
ideogram_overline => String[src]
ideogram_stress_marking => String[src]
ideogram_underline => String[src]
italic => String[src]
neither_framed_nor_encircled => String[src]
neither_italic_nor_blackletter => String[src]
neither_superscript_nor_subscript => String[src]
no_ideogram_attributes => String[src]
normal_intensity => String[src]
not_blinking => String[src]
not_crossed_out => String[src]
not_overlined => String[src]
not_reversed => String[src]
not_underlined => String[src]
overlined => String[src]
proportional_spacing => String[src]
purple => String[src]
put_cursor(line i32,column i32) => String[src]
red => String[src]
regular_color => String[src]
reset => String[src]
reset_color => String[src]
restore_cursor_pos => String[src]
reveal => String[src]
reverse => String[src]
save_cursor_pos => String[src]
set_background_set_color => String[src]
set_foreground_color => String[src]
set_underline_color => String[src]
57
56
subscript => String[src]
superscript => String[src]
66..72
underline => String[src]
white => String[src]
yellow => String[src]
0.099dev (GIT hash 20ecdcd8d62a0489c977cbb7295b8b8b142ee53e)
last changed: 2026-11-13