diff options
| author | Christoph Lohmann <20h@r-36.net> | 2012-08-30 07:38:47 +0200 | 
|---|---|---|
| committer | Christoph Lohmann <20h@r-36.net> | 2012-08-30 07:38:47 +0200 | 
| commit | 91fa81dbac4f09de234921cdf5afacb8c8295919 (patch) | |
| tree | 0c76ebfcfc0b113f73ced24c5c769cb387d3390e | |
| parent | 6696ef8563a58ee07e4de5b3a74b52b91934f6a9 (diff) | |
Never trust terminfo fata morganas. And adding other xterm compatibility.
| -rw-r--r-- | st.c | 7 | 
1 files changed, 2 insertions, 5 deletions
| @@ -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 ';': | 
