Sfoglia il codice sorgente

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

Fix panic on winsize syscall
Alexander Morozov 9 anni fa
parent
commit
37f5caf8c5
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  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).