You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Windows build number: 10.0.19042.0
Windows Terminal version (if applicable): 1.5.3242.0
Any other software?
OpenSSH_for_Windows_8.1p1, LibreSSL 2.9.2
Steps to reproduce
Run watch command
Expected behavior
Should look like the powershell output in the image (1) below
Actual behavior
Confusing text wrapping as shown in the image (WT in the background)
There's also the scrollbar that appears when using watch, but ideally, I don't think the scrollbar should be available. Powershell also faces this issue ONLY when there's a previous scrollback.
1. Powershell and WT. Powershell has no scrollback now, so looks okay
2. Powershell and WT both have previous scrollback, so both are 'broken'
OKay I'm not really sure what's going on here. Does this repro with WSL, withoutssh? Because just running watch ls locally seems mostly fine to me.
I think watch wants to be using the alt buffer, which conpty & WT don't yet support (#381). That would be what's causing the scrollbar to appear. I'm not really sure what else is wrong exactly here.
It seems to be triggered sometimes by running the clear command in an active ssh session, and resizing the window sometimes (resize without watch running).
❌ Means there was at the least one instance where I had the problem.
✔ means I couldn't reproduce the issue as far as I tried (clear screen, resize window b/w steps, backtracking to previous steps and trying again.
For example, a series of steps could be wsl → powershell core → ssh → watch date → stop watching → clear → exit ssh → clear → ssh → watch date that failed)
✔ wsl → watch date
✔ wsl → ssh → watch date
❌ wsl → powershell core/cmd/powershell → ssh → watch date
❌ Powershell Core → ssh → run clear → watch date
Okay, good! Thanks! This has the same root cause as /dup PowerShell/openssh-portable#426. The fix should be available in versions of Win32-OpenSSH greater than 7.7 😄
It may be worth raising this issue on their tracker to figure out when it's going to be released -- I thought that 8.1 would contain recent fixes, but perhaps it does not.
Activity
zadjii-msft commentedon Jan 25, 2021
OKay I'm not really sure what's going on here. Does this repro with WSL, without
ssh? Because just runningwatch lslocally seems mostly fine to me.I think
watchwants to be using the alt buffer, which conpty & WT don't yet support (#381). That would be what's causing the scrollbar to appear. I'm not really sure what else is wrong exactly here.MythreyaK commentedon Jan 25, 2021
You're right,
WSLandsshthroughWSLworks fine.CMD,PowershellandPowershell Coreall face the issue I describe aboveDHowett commentedon Jan 25, 2021
Sorry, would you mind clarifying?
You're using
watch:sshinside WSLsshfrom PowerShellsshfrom CMD?
MythreyaK commentedon Jan 25, 2021
It seems to be triggered sometimes by running the
clearcommand in an active ssh session, and resizing the window sometimes (resize without watch running).❌ Means there was at the least one instance where I had the problem.
✔ means I couldn't reproduce the issue as far as I tried (clear screen, resize window b/w steps, backtracking to previous steps and trying again.
For example, a series of steps could be
wsl→powershell core→ssh→watch date→ stop watching →clear→ exit ssh →clear→ssh→watch datethat failed)✔
wsl→watch date✔
wsl→ssh→watch date❌
wsl→powershell core/cmd/powershell→ssh→watch date❌
Powershell Core→ssh→ runclear→watch dateDHowett commentedon Jan 25, 2021
Okay, good! Thanks! This has the same root cause as /dup PowerShell/openssh-portable#426. The fix should be available in versions of Win32-OpenSSH greater than 7.7 😄
MythreyaK commentedon Jan 25, 2021
I'm on
OpenSSH_for_Windows_8.1p1, LibreSSL 2.9.2, so not sure what's happeningDHowett commentedon Jan 25, 2021
It may be worth raising this issue on their tracker to figure out when it's going to be released -- I thought that 8.1 would contain recent fixes, but perhaps it does not.
MythreyaK commentedon Jan 25, 2021
Okay, thank you very much!