From 38d2464ab27a6b1f3226b8a28326df671b2012a0 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Tue, 11 Aug 2015 07:05:27 +0200 Subject: [PATCH] Remove color codes in the console prompt fixes #9872 --- lib/cli/consolecommand.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/lib/cli/consolecommand.cpp b/lib/cli/consolecommand.cpp index 0a7af7ede..7ea0054b4 100644 --- a/lib/cli/consolecommand.cpp +++ b/lib/cli/consolecommand.cpp @@ -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();