mirror of
https://salsa.debian.org/dskoll/remind.git
synced 2026-04-17 23:08:40 +02:00
27 lines
932 B
Plaintext
27 lines
932 B
Plaintext
BANNER %
|
|
MSG TerminalBackground is: [$TerminalBackground]%
|
|
MSG UseVTColors is: [$UseVTColors]%
|
|
MSG Use256Colors is: [$Use256Colors]%
|
|
MSG UseTrueColors is: [$UseTrueColors]%
|
|
MSG UseBGVTColors is: [$UseBGVTColors]%
|
|
set n ansicolor("")]
|
|
MSG This is [ansicolor(0,255,0)]green[n], [ansicolor("255 0 0")]red[n] and [ansicolor("0 0 255")]blue[n] text.%
|
|
MSG This is [ansicolor(0,0,0)][ansicolor(0,255,0,1)]black text on a green background[n]%
|
|
MSG This is [ansicolor(0,0,0,0,1)]clamped black text[n]%
|
|
MSG This is [ansicolor(255,255,255,0,1)]clamped white text[n]
|
|
|
|
FLUSH
|
|
|
|
# Some invalid combos
|
|
set a ansicolor(1)
|
|
set a ansicolor(-1, 0, 0)
|
|
set a ansicolor(42, 42, 256)
|
|
set a ansicolor("foo")
|
|
set a ansicolor("1 1")
|
|
set a ansicolor("-1 -1 0");
|
|
set a ansicolor("256 1 1");
|
|
set a ansicolor(128, 128, 128, 2)
|
|
set a ansicolor(128, 128, 128, -1)
|
|
set a ansicolor(128, 128, 128, 0, 2)
|
|
set a ansicolor(128, 128, 128, 0, -1)
|