C# Class LongoMatch.ConsoleCrayon

Show file Open project: GNOME/longomatch Class Usage Examples

Public Methods

Method Description
ResetColor ( ) : void
Test ( ) : void

Private Methods

Method Description
DetectXtermColors ( ) : void
GetAnsiColorControlCode ( ConsoleColor color, bool isForeground ) : string
GetAnsiResetControlCode ( ) : string
SetColor ( ConsoleColor color, bool isForeground ) : void
TestAnsi ( ) : void
TestRuntime ( ) : void
TestSelf ( ) : void
TranslateColor ( ConsoleColor desired, bool &light ) : int
_isatty ( int fd ) : int
isatty ( int fd ) : bool

Method Details

ResetColor() public static method

public static ResetColor ( ) : void
return void

Test() public static method

public static Test ( ) : void
return void