3 references to NativeMethods
dotnet (3)
Commands\Test\MTP\Terminal\AnsiDetector.cs (1)
14
/// Works together with the <see cref="
NativeMethods
"/> to figure out if the current console is capable of using ANSI output codes.
Commands\Test\MTP\Terminal\TerminalTestReporter.cs (2)
82
(bool consoleAcceptsAnsiCodes, bool _, uint? originalConsoleMode) =
NativeMethods
.QueryIsScreenAndTryEnableAnsiColorCodes();
167
NativeMethods
.RestoreConsoleMode(_originalConsoleMode);