Преглед на файлове

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