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 7268eb97bc
commit 4d4ef98326
1 changed files with 2 additions and 0 deletions

View File

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