/// changing colors.
static bool ColorNeedsFlush();
/// changing colors.
static bool ColorNeedsFlush();
- /// This function returns the colorcode escape sequences, and sets Len to
- /// the length of the escape sequence.
+ /// This function returns the colorcode escape sequences.
/// If ColorNeedsFlush() is true then this function will change the colors
/// and return an empty escape sequence. In that case it is the
/// responsibility of the client to flush the output stream prior to
/// If ColorNeedsFlush() is true then this function will change the colors
/// and return an empty escape sequence. In that case it is the
/// responsibility of the client to flush the output stream prior to
+// It always has colors.
bool Process::StandardErrHasColors() {
return StandardErrIsDisplayed();
}
bool Process::StandardErrHasColors() {
return StandardErrIsDisplayed();
}
bool Process::StandardOutHasColors() {
return StandardOutIsDisplayed();
}
bool Process::StandardOutHasColors() {
return StandardOutIsDisplayed();
}
namespace {
class DefaultColors
{
namespace {
class DefaultColors
{