Windows Powershell resize
See original GitHub issueI 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.
Details
- Browser and browser version: Chrome
- OS version: all Windows versions
- xterm.js version: latest version
Steps to reproduce
- Default shell to Powershell
- Download and install Electerm on Windows (for example)
- type
ls
- maximize the window (if it’s not already maximized)
- unmaximize the window
- maximize the window
- type
ls
and see thatls
is not positioned correctly
Screen capture here:
Issue Analytics
- State:
- Created 3 years ago
- Comments:10 (5 by maintainers)
Top Results From Across the Web
Resize-Partition (Storage) - Microsoft Learn
The Resize-Partition cmdlet resizes a partition and the underlying file system. Examples. EXAMPLE 1. PowerShell. Copy.
Read more >Anyone know , is there a way to resize windows ... - Reddit
Anyone know , is there a way to resize windows through powershell? As the title says, I'd like to come up with a...
Read more >Resize browser window with PowerShell - Dan O'Sullivan's blog
Resize browser window with PowerShell ... today I've been looking for a way to resize my browser window to a consistent size for...
Read more >Set-ConsoleSize - PowerShell - SS64.com
The size of the PowerShell console window can be manipulated using the $host variable. The height, width and buffer size can all be...
Read more >Resize Partition Windows 10 - Itechguides.com
Finally, to resize partition on Windows 10 with PowerShell, use the Resize-Partition Cmdet. Resize-Partition -DiskNumber 0 –PartitionNumber 5 -Size $ ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
So I created another ticket on that https://github.com/microsoft/terminal/issues/5254
Thanks @Tyriar 👍