parent
a1581e1a7a
commit
63e44bb2a9
|
@ -123,8 +123,7 @@ namespace sys {
|
|||
/// 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
|
||||
|
|
|
@ -147,7 +147,7 @@ unsigned Process::StandardErrColumns() {
|
|||
return Columns;
|
||||
}
|
||||
|
||||
// it always has colors
|
||||
// It always has colors.
|
||||
bool Process::StandardErrHasColors() {
|
||||
return StandardErrIsDisplayed();
|
||||
}
|
||||
|
@ -155,6 +155,7 @@ bool Process::StandardErrHasColors() {
|
|||
bool Process::StandardOutHasColors() {
|
||||
return StandardOutIsDisplayed();
|
||||
}
|
||||
|
||||
namespace {
|
||||
class DefaultColors
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue