浏览代码

Merge pull request #22013 from tonistiigi/fix-go16-panic

Fix panic on winsize syscall
Alexander Morozov 9 年之前
父节点
当前提交
37f5caf8c5
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      pkg/term/term.go

+ 2 - 0
pkg/term/term.go

@@ -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).