Skip to content

Commit a676bb1

Browse files
committed
fix selective imports
1 parent 78f2b5a commit a676bb1

File tree

1 file changed

+3
-1
lines changed
  • src/dscanner/analysis

1 file changed

+3
-1
lines changed

src/dscanner/analysis/run.d

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,9 @@ private string formatContext(Message.Diagnostic diagnostic, scope const(char)[]
159159
version (Windows)
160160
void enableColoredOutput()
161161
{
162-
import core.sys.windows.windows;
162+
import core.sys.windows.windows : DWORD, ENABLE_VIRTUAL_TERMINAL_PROCESSING,
163+
GetConsoleMode, GetStdHandle, HANDLE, INVALID_HANDLE_VALUE,
164+
SetConsoleMode, STD_OUTPUT_HANDLE;
163165

164166
// Set output mode to handle virtual terminal sequences
165167
HANDLE hOut = GetStdHandle(STD_OUTPUT_HANDLE);

0 commit comments

Comments
 (0)