projects
/
st.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6696ef8
)
Never trust terminfo fata morganas. And adding other xterm compatibility.
author
Christoph Lohmann
<20h@r-36.net>
Thu, 30 Aug 2012 05:38:47 +0000
(07:38 +0200)
committer
Christoph Lohmann
<20h@r-36.net>
Thu, 30 Aug 2012 05:38:47 +0000
(07:38 +0200)
st.c
patch
|
blob
|
history
diff --git
a/st.c
b/st.c
index
d8acce4
..
5b98c6f
100644
(file)
--- a/
st.c
+++ b/
st.c
@@
-1467,16
+1467,13
@@
strhandle(void) {
case ']': /* OSC -- Operating System Command */
switch(p[0]) {
case '0':
+ case '1':
case '2':
/*
* TODO: Handle special chars in string, like umlauts.
*/
if(p[1] == ';') {
- if(!strncmp(strescseq.buf, "settitle ", 9)) {
- XStoreName(xw.dpy, xw.win, strescseq.buf+11);
- } else {
- XStoreName(xw.dpy, xw.win, strescseq.buf+2);
- }
+ XStoreName(xw.dpy, xw.win, strescseq.buf+2);
}
break;
case ';':