diff options
Diffstat (limited to 'src/macos.m')
-rw-r--r-- | src/macos.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/macos.m b/src/macos.m index 4ad267c1..1019d13d 100644 --- a/src/macos.m +++ b/src/macos.m | |||
@@ -734,7 +734,7 @@ enum iColorId removeColorEscapes_String(iString *d) { | |||
734 | static NSString *cleanString_(const iString *ansiEscapedText) { | 734 | static NSString *cleanString_(const iString *ansiEscapedText) { |
735 | iString mod; | 735 | iString mod; |
736 | initCopy_String(&mod, ansiEscapedText); | 736 | initCopy_String(&mod, ansiEscapedText); |
737 | iRegExp *ansi = makeAnsiEscapePattern_Text(); | 737 | iRegExp *ansi = makeAnsiEscapePattern_Text(iTrue /* with ESC */); |
738 | replaceRegExp_String(&mod, ansi, "", NULL, NULL); | 738 | replaceRegExp_String(&mod, ansi, "", NULL, NULL); |
739 | iRelease(ansi); | 739 | iRelease(ansi); |
740 | NSString *clean = [NSString stringWithUTF8String:cstr_String(&mod)]; | 740 | NSString *clean = [NSString stringWithUTF8String:cstr_String(&mod)]; |