Procházet zdrojové kódy

Vt escape sequences allow escape sequences in escape sequences and escape

sequences, so we have to support escape sequences in escape sequences that
escape sequences in escape sequences – setting a title won't notify you
anymore.
Christoph Lohmann před 12 roky
rodič
revize
29b209f5f5
1 změnil soubory, kde provedl 3 přidání a 0 odebrání
  1. 3 0
      st.c

+ 3 - 0
st.c

@@ -1685,6 +1685,9 @@ tputc(char *c, int len) {
 		tnewline(IS_SET(MODE_CRLF));
 		return;
 	case '\a':
+		if(term.esc & ESC_STR)
+			break;
+
 		if(!(xw.state & WIN_FOCUSED))
 			xseturgency(1);
 		return;