mirror of
https://github.com/dlang-community/D-Scanner.git
synced 2025-04-26 05:10:03 +03:00
fix selective imports
This commit is contained in:
parent
78f2b5a420
commit
a676bb13fb
1 changed files with 3 additions and 1 deletions
|
@ -159,7 +159,9 @@ private string formatContext(Message.Diagnostic diagnostic, scope const(char)[]
|
|||
version (Windows)
|
||||
void enableColoredOutput()
|
||||
{
|
||||
import core.sys.windows.windows;
|
||||
import core.sys.windows.windows : DWORD, ENABLE_VIRTUAL_TERMINAL_PROCESSING,
|
||||
GetConsoleMode, GetStdHandle, HANDLE, INVALID_HANDLE_VALUE,
|
||||
SetConsoleMode, STD_OUTPUT_HANDLE;
|
||||
|
||||
// Set output mode to handle virtual terminal sequences
|
||||
HANDLE hOut = GetStdHandle(STD_OUTPUT_HANDLE);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue