This adds 24-bit color extensions to rxvt-unicode
, mainly so I can use my
custom version of Vim in a terminal, but with
GUI colorschemes.
Based on the fact that almost every single one of my commits is prefixed with
wip
(work in progress), you should probably not use this. I've been using it
successfully since May, 2013 on a few machines.
SGR 38 ; 2 ; {r} ; {g} ; {b} ; m
- set foreground colorSGR 48 ; 2 ; {r} ; {g} ; {b} ; m
- set background colorSGR 38 ; 6 ; {r} ; {g} ; {b} ; m
- set default foreground color¹SGR 48 ; 6 ; {r} ; {g} ; {b} ; m
- set default background color¹SGR 38 ; 7 ; {r} ; {g} ; {b} ; m
- set cursor foreground colorSGR 48 ; 7 ; {r} ; {g} ; {b} ; m
- set cursor background color
E.g.:
printf '\e[38;7;0;0;255m'
- set the cursor foreground to blue
¹: even more incomplete than the rest of this