6.24.5.1 Color output

The following words are used to create (semantic) colorful output; further output is produced in the color and style given by the word; the actual color and style depends on the theme (see Color themes) and on your terminal setup.30

default-color ( ) gforth-1.0

Future terminal output will use the system-default color

error-color ( ) gforth-1.0

Future terminal output will use the error color (red)

error-hl-inv ( ) gforth-1.0

Future terminal output will be shown in the inverted error color (background color on red)

error-hl-ul ( ) gforth-1.0

Future terminal output will be shown in the error color (red) and underlined.

warning-color ( ) gforth-1.0

Future terminal output will use the color for warnings (light-mode: blue, dark-mode: yellow)

info-color ( ) gforth-1.0

Future terminal output will use the color for informative output (light-mode: green, dark-mode: cyan)

success-color ( ) gforth-1.0

Future terminal output will use the color for success (green)

input-color ( ) gforth-1.0

Future terminal output will use the color for user-input (light-mode: bold black, dark-mode: bold white, magenta-input: magenta)

status-color ( ) gforth-1.0

Future terminal output will be shown in the color for the interpret-state status bar (inverted blue)

compile-color ( ) gforth-1.0

Future terminal output will be shown in the color for the compile-state status bar (inverted magenta)

postpone-color ( ) gforth-1.0

Future terminal output will be shown in the color for the postpone-state status bar (inverted red)


Footnotes

(30)

https://www.complang.tuwien.ac.at/anton/xterm-colors/