We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7e8381f + 2bf4d03 commit cf5db86Copy full SHA for cf5db86
Sources/TSCBasic/TerminalController.swift
@@ -110,7 +110,7 @@ public final class TerminalController {
110
/// Computes the terminal type of the stream.
111
public static func terminalType(_ stream: LocalFileOutputByteStream) -> TerminalType {
112
#if os(Windows)
113
- return _isatty(_fileno(stream.filePointer)) == 0 ? .file : .tty
+ return _isatty(_fileno(stream.filePointer)) == 0 ? .file : .dumb
114
#else
115
if ProcessEnv.vars["TERM"] == "dumb" {
116
return .dumb
0 commit comments