From 29b209f5f55c80e457a5a913a463bd24f8e307e9 Mon Sep 17 00:00:00 2001 From: Christoph Lohmann <20h@r-36.net> Date: Thu, 27 Sep 2012 19:28:44 +0200 Subject: Vt escape sequences allow escape sequences in escape sequences and escape MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- st.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/st.c b/st.c index 2767d54..bb80321 100644 --- 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; -- cgit v1.2.3-54-g00ecf