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
I think this might have to do with the screen attributes somehow. This doesn't repro with my usual prompt, but if I set PROMPT=$p$g, then this always repros. Even set PROMPT=$e[31m$p$g$e[39m will cause this to go away, so there's something wonky with the attributes happening here.
EDIT:
oh no it's worse than that.
It will sometimes repro with my usual prompt. And sometimes it doesn't.
OH NO
I bet it actually does resize the conpty buffer. If you do this in inception (wsl.exe cmd.exe), the console will get bigger. But the Terminal doesn't act on that resize for whatever reason. Either the terminal isn't acting on the ^[[8<rows>;<cols>t sequence, or the resize is never being emitted by conpty. Probably running into that same if clause where we check the maximum possible size of the window, but we don't do that in conpty mode.
Activity
DHowett-MSFT commentedon Dec 31, 2019
This may have been fixed (incidentally) at the same time as #3907; somebody will need to validate.
zadjii-msft commentedon Jan 2, 2020
Dustin L. Howett (MSFT) (@DHowett-MSFT) unfortunately, that's not the case :/
I think this might have to do with the screen attributes somehow. This doesn't repro with my usual prompt, but if I
set PROMPT=$p$g, then this always repros. Evenset PROMPT=$e[31m$p$g$e[39mwill cause this to go away, so there's something wonky with the attributes happening here.EDIT: oh no it's worse than that.
It will sometimes repro with my usual prompt. And sometimes it doesn't.
OH NO
I bet it actually does resize the conpty buffer. If you do this in inception (wsl.exe cmd.exe), the console will get bigger. But the Terminal doesn't act on that resize for whatever reason. Either the terminal isn't acting on the
^[[8<rows>;<cols>tsequence, or the resize is never being emitted by conpty. Probably running into that sameifclause where we check the maximum possible size of the window, but we don't do that in conpty mode.