fix: resize cols and rows, not the other way around *sigh*

This commit is contained in:
Aarnav Tale
2025-06-18 13:24:34 -04:00
parent 1e86b0e95b
commit bf1d75a27a
4 changed files with 45 additions and 29 deletions
+1 -1
View File
@@ -150,7 +150,7 @@ func (s *SSHSession) Resize(rows, cols int) error {
return nil
}
return s.Pty.WindowChange(rows, cols)
return s.Pty.WindowChange(cols, rows)
}
// Closes the SSH session.