Never trust terminfo fata morganas. And adding other xterm compatibility.
							parent
							
								
									6696ef8563
								
							
						
					
					
						commit
						91fa81dbac
					
				
							
								
								
									
										5
									
								
								st.c
								
								
								
								
							
							
						
						
									
										5
									
								
								st.c
								
								
								
								
							|  | @ -1467,17 +1467,14 @@ 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); | ||||
| 			} | ||||
| 			} | ||||
| 			break; | ||||
| 		case ';': | ||||
| 			XStoreName(xw.dpy, xw.win, strescseq.buf+1); | ||||
|  |  | |||
		Reference in New Issue