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;
#endif /* HAVE_EDITLINE */
os << ConsoleColorTag(Console_ForegroundCyan, console_type)
<< fileName
<< ConsoleColorTag(Console_ForegroundRed, console_type);
os << fileName;
if (!continuation)
os << " => ";
else
os << " .. ";
os << ConsoleColorTag(Console_Normal, console_type);
#ifdef HAVE_EDITLINE
String prompt = promptbuf.str();