summaryrefslogtreecommitdiff
path: root/src/macos.m
diff options
context:
space:
mode:
Diffstat (limited to 'src/macos.m')
-rw-r--r--src/macos.m2
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) {
734static NSString *cleanString_(const iString *ansiEscapedText) { 734static 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)];