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 ab6594b commit fc4e97dCopy full SHA for fc4e97d
agent/agent.go
@@ -453,8 +453,8 @@ func (a *agent) handleSSHSession(session ssh.Session) (retErr error) {
453
}
454
go func() {
455
for win := range windowSize {
456
- err = ptty.Resize(uint16(win.Height), uint16(win.Width))
457
- if err != nil {
+ resizeErr := ptty.Resize(uint16(win.Height), uint16(win.Width))
+ if resizeErr != nil {
458
a.logger.Warn(context.Background(), "failed to resize tty", slog.Error(err))
459
460
0 commit comments