Add another obscure way to set a window title.
This commit is contained in:
parent
af29fb2a50
commit
c092bce366
4
st.c
4
st.c
|
@ -1509,6 +1509,9 @@ strhandle(void) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
case 'k': /* old title set compatibility */
|
||||||
|
XStoreName(xw.dpy, xw.win, strescseq.buf);
|
||||||
|
break;
|
||||||
case 'P': /* DSC -- Device Control String */
|
case 'P': /* DSC -- Device Control String */
|
||||||
case '_': /* APC -- Application Program Command */
|
case '_': /* APC -- Application Program Command */
|
||||||
case '^': /* PM -- Privacy Message */
|
case '^': /* PM -- Privacy Message */
|
||||||
|
@ -1624,6 +1627,7 @@ tputc(char *c) {
|
||||||
case '_': /* APC -- Application Program Command */
|
case '_': /* APC -- Application Program Command */
|
||||||
case '^': /* PM -- Privacy Message */
|
case '^': /* PM -- Privacy Message */
|
||||||
case ']': /* OSC -- Operating System Command */
|
case ']': /* OSC -- Operating System Command */
|
||||||
|
case 'k': /* old title set compatibility */
|
||||||
strreset();
|
strreset();
|
||||||
strescseq.type = ascii;
|
strescseq.type = ascii;
|
||||||
term.esc |= ESC_STR;
|
term.esc |= ESC_STR;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user