1
0
Fork 0
mirror of https://github.com/alacritty/alacritty.git synced 2024-11-11 13:51:01 -05:00
alacritty/alacritty_terminal/tests/ref/sgr/alacritty.recording
Christian Duerr 576252294d
Add support for colon separated SGR parameters
This implements the colon separated form of SGR 38 and 48.

Fixes #1485.
2020-08-07 22:37:23 +00:00

1.2 KiB

[undeadleech@archhq sgr]$ echo -e "\e[9;38:2:255:0:255;4mTEST\e[0m"
[9;38:2:255:0:255;4mTEST
[undeadleech@archhq sgr]$ echo -e "\e[9;38:2:0:255:0:255;4mTEST\e[0m"
[9;38:2:0:255:0:255;4mTEST
[undeadleech@archhq sgr]$ echo -e "\e[9;38:5:1;4mTEST\e[0m"
[9;38:5:1;4mTEST
[undeadleech@archhq sgr]$ echo -e "\e[9;48:2:255:0:255;4mTEST\e[0m"
[9;48:2:255:0:255;4mTEST
[undeadleech@archhq sgr]$ echo -e "\e[9;48:2:0:255:0:255;4mTEST\e[0m"
[9;48:2:0:255:0:255;4mTEST
[undeadleech@archhq sgr]$ echo -e "\e[9;48:5:1;4mTEST\e[0m"
[9;48:5:1;4mTEST
[undeadleech@archhq sgr]$ echo -e "\e[9;38;2;255;0;255;4mTEST\e[0m"
TEST
[undeadleech@archhq sgr]$ echo -e "\e[9;38;2;0;255;0;255;4mTEST\e[0m"
TEST
[undeadleech@archhq sgr]$ echo -e "\e[9;38;5;1;4mTEST\e[0m"
TEST
[undeadleech@archhq sgr]$ echo -e "\e[9;48;2;255;0;255;4mTEST\e[0m"
TEST
[undeadleech@archhq sgr]$ echo -e "\e[9;48;2;0;255;0;255;4mTEST\e[0m"
TEST
[undeadleech@archhq sgr]$ echo -e "\e[9;48;5;1;4mTEST\e[0m"
TEST
[undeadleech@archhq sgr]$ exit
exit