bakkeby 2021-05-10 09:28:15 +02:00
parent 835d204593
commit 29b20b54c5
4 changed files with 24 additions and 1 deletions

8
st.c
View file

@ -2363,7 +2363,15 @@ strhandle(void)
case ']': /* OSC -- Operating System Command */
switch (par) {
case 0:
if (narg > 1) {
xsettitle(strescseq.args[1]);
xseticontitle(strescseq.args[1]);
}
return;
case 1:
if (narg > 1)
xseticontitle(strescseq.args[1]);
return;
case 2:
if (narg > 1)
xsettitle(strescseq.args[1]);