mirror of
https://github.com/LukeSmithxyz/st.git
synced 2024-11-25 00:15:46 +01:00
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.
This commit is contained in:
parent
3af49e34f6
commit
29b209f5f5
1 changed files with 3 additions and 0 deletions
3
st.c
3
st.c
|
@ -1685,6 +1685,9 @@ tputc(char *c, int len) {
|
||||||
tnewline(IS_SET(MODE_CRLF));
|
tnewline(IS_SET(MODE_CRLF));
|
||||||
return;
|
return;
|
||||||
case '\a':
|
case '\a':
|
||||||
|
if(term.esc & ESC_STR)
|
||||||
|
break;
|
||||||
|
|
||||||
if(!(xw.state & WIN_FOCUSED))
|
if(!(xw.state & WIN_FOCUSED))
|
||||||
xseturgency(1);
|
xseturgency(1);
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue