261024.3 · 62aecba7acc76906e342a15545ff1a8c9899d89d
fix(resize): size the nested parser on a window size report
reading declarations
Changes to input.go. All files
@@ -1513,6 +1513,11 @@ func (ip *inputParser) handleCsi(mode rune, params []byte, intermediate []byte) if height != ip.rows || width != ip.cols { // Not through SetSize's goroutine, so that the pixel size report sent after it is paired with this size. ip.rows, ip.cols = height, width+ if nested := ip.nested; nested != nil {+ nested.l.Lock()+ nested.rows, nested.cols = height, width+ nested.l.Unlock()+ } ip.post(newEventResize(WindowSize{Width: width, Height: height})) } return