Add another obscure way to set a window title.
Christoph Lohmann 20h@r-36.net
1 files changed,
4 insertions(+),
0 deletions(-)
jump to
M
st.c
→
st.c
@@ -1509,6 +1509,9 @@ strdump();
break; } break; + case 'k': /* old title set compatibility */ + XStoreName(xw.dpy, xw.win, strescseq.buf); + break; case 'P': /* DSC -- Device Control String */ case '_': /* APC -- Application Program Command */ case '^': /* PM -- Privacy Message */@@ -1624,6 +1627,7 @@ case 'P': /* DCS -- Device Control String */
case '_': /* APC -- Application Program Command */ case '^': /* PM -- Privacy Message */ case ']': /* OSC -- Operating System Command */ + case 'k': /* old title set compatibility */ strreset(); strescseq.type = ascii; term.esc |= ESC_STR;