From 5e5c3b8cf3bb4e3a5b7562c0d5b72219760a3fb5 Mon Sep 17 00:00:00 2001 From: Christoph Lohmann <20h@r-36.net> Date: Thu, 27 Sep 2012 19:28:44 +0200 Subject: =?UTF-8?q?Vt=20escape=20sequences=20allow=20escape=20sequences=20?= =?UTF-8?q?in=20escape=20sequences=20and=20escape=20sequences,=20so=20we?= =?UTF-8?q?=20have=20to=20support=20escape=20sequences=20in=20escape=20seq?= =?UTF-8?q?uences=20that=20escape=20sequences=20in=20escape=20sequences=20?= =?UTF-8?q?=E2=80=93=20setting=20a=20title=20won't=20notify=20you=20anymor?= =?UTF-8?q?e.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- st.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'st.c') 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.1