From a031b83a09a8628435317a03f199cdc18b78262f Mon Sep 17 00:00:00 2001 From: Matthew Heon Date: Wed, 1 Nov 2017 11:24:59 -0400 Subject: Initial checkin from CRI-O repo Signed-off-by: Matthew Heon --- vendor/github.com/buger/goterm/terminal_nosysioctl.go | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 vendor/github.com/buger/goterm/terminal_nosysioctl.go (limited to 'vendor/github.com/buger/goterm/terminal_nosysioctl.go') 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 +} -- cgit v1.2.3-54-g00ecf