JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
Vt escape sequences allow escape sequences in escape sequences and escape
[st.git] / st.c
diff --git a/st.c b/st.c
index 2767d54..bb80321 100644 (file)
--- a/st.c
+++ b/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;