diff options
Diffstat (limited to 'vendor/github.com/buger/goterm/terminal_nosysioctl.go')
-rw-r--r-- | vendor/github.com/buger/goterm/terminal_nosysioctl.go | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/vendor/github.com/buger/goterm/terminal_nosysioctl.go b/vendor/github.com/buger/goterm/terminal_nosysioctl.go new file mode 100644 index 000000000..690615008 --- /dev/null +++ b/vendor/github.com/buger/goterm/terminal_nosysioctl.go @@ -0,0 +1,12 @@ +// +build windows plan9 solaris + +package goterm + +func getWinsize() (*winsize, error) { + ws := new(winsize) + + ws.Col = 80 + ws.Row = 24 + + return ws, nil +} |