fix: resize cols and rows, not the other way around *sigh*
This commit is contained in:
parent
1e86b0e95b
commit
bf1d75a27a
4 changed files with 45 additions and 29 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue