We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8425ab6 commit 1975aa9Copy full SHA for 1975aa9
agent/agent.go
@@ -331,6 +331,10 @@ func (a *agent) handleSSHSession(session ssh.Session) error {
331
if err != nil {
332
return xerrors.Errorf("start command: %w", err)
333
}
334
+ err = ptty.Resize(uint16(sshPty.Window.Height), uint16(sshPty.Window.Width))
335
+ if err != nil {
336
+ return xerrors.Errorf("resize ptty: %w", err)
337
+ }
338
go func() {
339
for win := range windowSize {
340
err = ptty.Resize(uint16(win.Height), uint16(win.Width))
0 commit comments