mc/mc-esc-seq.patch

16 lines
382 B
Diff

---
lib/util.c | 2 ++
1 file changed, 2 insertions(+)
--- a/lib/util.c
+++ b/lib/util.c
@@ -762,6 +762,8 @@ strip_ctrl_codes (char *s)
while (*(++r) != '\0' && strchr ("0123456789;:?", *r) != NULL)
;
}
+ else if (*r == '(')
+ r++;
else if (*r == ']')
{
/*