Fix panic on winsize syscall

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
This commit is contained in:
Tonis Tiigi 2016-04-13 17:08:00 -07:00
parent ee13b8919d
commit 1ce2f3e124

View file

@ -27,6 +27,8 @@ type State struct {
type Winsize struct { type Winsize struct {
Height uint16 Height uint16
Width uint16 Width uint16
x uint16
y uint16
} }
// StdStreams returns the standard streams (stdin, stdout, stedrr). // StdStreams returns the standard streams (stdin, stdout, stedrr).