[st][PATCH] OSC 10/11/12 fg, bg and cursor colors

Support for OSC escape sequences 10, 11 and 12 to modify the bg, fg and
cursor colors. I selected entries in the colorname table after the 255
position for defaultfg, defaultbg and defaultcs
This commit is contained in:
bakkeby 2020-04-20 12:35:11 +02:00
parent 24c9ea1e51
commit bda5b50b99
3 changed files with 17 additions and 5 deletions

1
st.h
View file

@ -141,6 +141,7 @@ extern char *termname;
extern unsigned int tabspaces;
extern unsigned int defaultfg;
extern unsigned int defaultbg;
extern unsigned int defaultcs;
#if BOXDRAW_PATCH
extern const int boxdraw, boxdraw_bold, boxdraw_braille;
#endif // BOXDRAW_PATCH