PowerShell / PowerShell/Win32-OpenSSH
Not propagating client resizing
@bagajjal is already working on this.
Since Jul 16, 2020.
- Dominant language
- No language data
- Stars
- 8.3k
- Forks
- 819
- PR merge metrics
- No merged PRs in 30d
Description
"OpenSSH for Windows" version
7.6.0.1
Server OperatingSystem
Windows 10 Pro
Client OperatingSystem
macOS 10.14.3 (Darwin Kernel Version 18.2.0)
What is failing
It doesn't appear as if sigwinch (or something like that) is properly being sent. I have it set up to straight into wsl, and that works great, but if I resize my client terminal, the rows and cols doesn't update. I've seen some of the other issues that are maybe related, but like #1039 is talking about ssh.exe, whereas this is from an external non-windows client. So maybe it's different?
Expected output
before resize:
$ echo -e "lines\ncols"|tput -S
24
70
after resize:
$ echo -e "lines\ncols"|tput -S
43
151
Actual output
before resize:
$ echo -e "lines\ncols"|tput -S
24
70
after resize:
$ echo -e "lines\ncols"|tput -S
24
70
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.