This commit is contained in:
Sebastien Bramille 2017-11-13 11:01:14 +00:00 committed by Cheng Zhao
parent 85f254316c
commit 6a1cfafbd8
2 changed files with 7 additions and 28 deletions

View file

@ -108,8 +108,6 @@
@implementation NSString (ANSI)
- (BOOL)containsANSICodes {
NSLog(@"%lu", [self rangeOfString:@"\\033["].location);
NSLog(@"%d", [self rangeOfString:@"\\033["].location != NSNotFound);
return [self rangeOfString:@"\\033["].location != NSNotFound;
}