mirror of
https://github.com/alacritty/alacritty.git
synced 2024-11-11 13:51:01 -05:00
576252294d
This implements the colon separated form of SGR 38 and 48. Fixes #1485.
1.2 KiB
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
[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