aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2014-04-13 11:13:43 -0400
committerJesse Luehrs <doy@tozt.net>2014-04-13 11:13:43 -0400
commita4f0738700c6f2cde5de7b3bccf1c32bba22bac4 (patch)
treeec63f67f98f9f4fac0927196b36817c04674592d
parent282695a9e923f069da86486dd9b0cf79f20da76f (diff)
downloadrunes-a4f0738700c6f2cde5de7b3bccf1c32bba22bac4.tar.gz
runes-a4f0738700c6f2cde5de7b3bccf1c32bba22bac4.zip
handle any of these characters
-rw-r--r--vt100.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/vt100.l b/vt100.l
index 8e6ed5e..9ad4b91 100644
--- a/vt100.l
+++ b/vt100.l
@@ -112,7 +112,7 @@ static void runes_vt100_handle_osc2(RunesTerm *t, char *buf, size_t len);
{OSC1} runes_vt100_handle_osc1(yyextra, yytext, yyleng);
{OSC2} runes_vt100_handle_osc2(yyextra, yytext, yyleng);
-{CSI}\??{CSIPARAMS}(?s:.) {
+{CSI}[<=?]?{CSIPARAMS}(?s:.) {
fprintf(
stderr, "unhandled CSI sequence: \\033%*s\n",
(int)yyleng - 1, yytext + 1);