Skip to content

Commit 953aad3

Browse files
committed
Fix color logging on Windows
1 parent e4dae5d commit 953aad3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Sources/CLTLogger.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,7 @@ public struct CLTLogger : LogHandler {
227227
}
228228
#else
229229
if GetFileType(fh._handle) == FILE_TYPE_CHAR {
230+
return .color
230231
}
231232
#endif
232233
/* Unknown case: we return the text logging style. */

0 commit comments

Comments
 (0)