mc/mc-esc-seq.patch

12 lines
265 B
Diff
Raw Normal View History

--- src/util.c
+++ src/util.c
@@ -1205,6 +1205,8 @@
/* strchr() matches trailing binary 0 */
while (*(++r) && strchr ("0123456789;?", *r));
}
+ else if (*r == '(')
+ r++;
/*
* Now we are at the last character of the sequence.