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.
1 parent 2806308 commit aba57c5Copy full SHA for aba57c5
Sources/Basic/TerminalController.swift
@@ -115,7 +115,7 @@ public final class TerminalController {
115
// Following code does not compile on ppc64le well. TIOCGWINSZ is
116
// defined in system ioctl.h file which needs to be used. This is
117
// a temporary arrangement and needs to be fixed.
118
-#if !arch(powerpc64le)
+#if !(arch(powerpc64le) || os(Windows))
119
var ws = winsize()
120
if ioctl(1, UInt(TIOCGWINSZ), &ws) == 0 {
121
return Int(ws.ws_col)
0 commit comments