Fix minor escape code check issue
This commit is contained in:
parent
48b8d43ff8
commit
b2a5bd00fb
@ -12,7 +12,7 @@ namespace Text {
|
||||
unsigned char const SpecialCharLimit = ' ';
|
||||
|
||||
String stripEscapeCodes(String const& s);
|
||||
inline bool isEscapeCode(char c) { return c == CmdEsc || c == StartEsc; }
|
||||
inline bool isEscapeCode(Utf32Type c) { return c == CmdEsc || c == StartEsc; }
|
||||
|
||||
typedef function<bool(StringView text)> TextCallback;
|
||||
typedef function<bool(StringView commands)> CommandsCallback;
|
||||
|
Loading…
Reference in New Issue
Block a user