I made an Electron app using xterm.js to integrate a terminal.
When the default terminal is Powershell, it doesn't resize correctly when maximizing/unmaximazing the windows. The same thing happened on Hyper, or Electerm which use xterm internally.
When using other things than Powershell, like cmd.exe, that works fine.
lsls and see that ls is not positioned correctlyScreen capture here:

OS version: all Windows versions
What version of windows are you on? Type ver into cmd.
@Tyriar I’m on @trungutt’s team, I have the same issue, here is my Windows version
Microsoft Windows [Version 10.0.19592.1001]
I guess we’re all running Insider Rings versions on the team.
@mat007 does it happen when you try on Windows Terminal?
Also how are you creating the pty backend?
Try setting the useConpty: true.
does it happen when you try on Windows Terminal?
As a matter of fact, it does! So I guess that means it’s a Powershell terminal bug…
@mat007 if it repros in windows terminal is means it's a conpty bug. You should report to https://github.com/microsoft/terminal
Thanks @Tyriar 👍
A bit late but thanks @Tyriar
So I created another ticket on that https://github.com/microsoft/terminal/issues/5254