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 8e60b2e + c082ad4 commit c41363dCopy full SHA for c41363d
Sources/swift-format/Utilities/TTY.swift
@@ -12,6 +12,10 @@
12
13
import Foundation
14
15
+#if os(Android)
16
+import Android
17
+#endif
18
+
19
/// Returns a value indicating whether or not the stream is a TTY.
20
func isTTY(_ fileHandle: FileHandle) -> Bool {
21
// The implementation of this function is adapted from `TerminalController.swift` in
0 commit comments