[hackers] [st] Vt escape sequences allow escape sequences in escape sequences and escape || Christoph Lohmann
changeset: 339:c290e828eda9
tag: tip
user: Christoph Lohmann <20h_AT_r-36.net>
date: Thu Sep 27 19:28:44 2012 +0200
files: st.c
description:
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.
diff -r 05f9b1e75c64 -r c290e828eda9 st.c
--- a/st.c Wed Sep 26 20:55:18 2012 +0200
+++ b/st.c Thu Sep 27 19:28:44 2012 +0200
_AT_@ -1685,6 +1685,9 @@
tnewline(IS_SET(MODE_CRLF));
return;
case '\a':
+ if(term.esc & ESC_STR)
+ break;
+
if(!(xw.state & WIN_FOCUSED))
xseturgency(1);
return;
Received on Thu Sep 27 2012 - 19:31:11 CEST
This archive was generated by hypermail 2.3.0
: Thu Sep 27 2012 - 19:36:06 CEST