mc/mc-esc-seq.patch

12 lines
395 B
Diff

--- lib/util.c.orig 2014-09-05 20:50:09.000000000 +0200
+++ lib/util.c 2014-09-05 20:51:02.000000000 +0200
@@ -752,6 +752,8 @@ strip_ctrl_codes (char *s)
while (*(++r) != '\0' && strchr ("0123456789;:?", *r) != NULL)
;
}
+ else if (*r == '(')
+ r++;
else if (*r == ']')
{
/*