Remove color codes in the console prompt

fixes #9872
This commit is contained in:
Gunnar Beutner 2015-08-11 07:05:27 +02:00
parent aa00f4183a
commit 38d2464ab2
1 changed files with 1 additions and 5 deletions

View File

@ -198,17 +198,13 @@ incomplete:
std::ostream& os = std::cout; std::ostream& os = std::cout;
#endif /* HAVE_EDITLINE */ #endif /* HAVE_EDITLINE */
os << ConsoleColorTag(Console_ForegroundCyan, console_type) os << fileName;
<< fileName
<< ConsoleColorTag(Console_ForegroundRed, console_type);
if (!continuation) if (!continuation)
os << " => "; os << " => ";
else else
os << " .. "; os << " .. ";
os << ConsoleColorTag(Console_Normal, console_type);
#ifdef HAVE_EDITLINE #ifdef HAVE_EDITLINE
String prompt = promptbuf.str(); String prompt = promptbuf.str();