Commit 3a23264e authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh
Browse files

Fix MSVC build

\e is not recognized by MSVC.

Change-Id: I2c36d9e9a613a24895dd33e37a82c0ce3d846f3d
Reviewed-by: default avatarPetar Perisin <>
parent c1068262
......@@ -77,7 +77,7 @@ QList<StringFormatPair> AnsiEscapeCodeHandler::parseText(const QString &text,
QTextCharFormat charFormat = m_previousFormatClosed ? defaultFormat : m_previousFormat;
const QString escape = QLatin1String("\e[");
const QString escape = QLatin1Char(27) + QLatin1Char('[');
if (!text.contains(escape)) {
outputData << StringFormatPair(text, charFormat);
return outputData;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment