mc/mc-esc-seq.patch

18 lines
486 B
Diff
Raw Normal View History

---
lib/util.c | 2 ++
1 file changed, 2 insertions(+)
Index: mc-4.8.33/lib/util.c
===================================================================
--- mc-4.8.33.orig/lib/util.c
+++ mc-4.8.33/lib/util.c
@@ -783,6 +783,8 @@ strip_ctrl_codes (char *s)
while (*r != '\0' && (*r < 0x40 || *r > 0x7E))
++r;
}
+ else if (*r == '(')
+ r++;
else if (*r == ']')
{
/*