command "mode CON: cols=c lines=n" dosn't work properly #14963

Open
opened 2026-01-31 04:24:27 +00:00 by claunia · 0 comments
Owner

Originally created by @ImmortalTerror on GitHub (Aug 25, 2021).

Windows Terminal version (or Windows build number)

Microsoft Windows [Version 10.0.18362.1256]

Other Software

No response

Steps to reproduce

Open Windows Terminal and try resizing the window with mode CON: cols=c lines=n .

Expected Behavior

It should resize to the size you entered like it would in regular command prompt.
example:
Command prompt after running mode CON: cols=50 lines=50
cmd_ystiP641rC

Actual Behavior

Windows Terminal does not resize but any text inside acts if it did.
example:
Windows terminal after running mode CON: cols=50 lines=50
WindowsTerminal_jMur1DJyOw

And when there is text in the window after it has been resized
WindowsTerminal_zmvrBtOcDq

Originally created by @ImmortalTerror on GitHub (Aug 25, 2021). ### Windows Terminal version (or Windows build number) Microsoft Windows [Version 10.0.18362.1256] ### Other Software _No response_ ### Steps to reproduce Open Windows Terminal and try resizing the window with `mode CON: cols=c lines=n` . ### Expected Behavior It should resize to the size you entered like it would in regular command prompt. example: Command prompt after running `mode CON: cols=50 lines=50` ![cmd_ystiP641rC](https://user-images.githubusercontent.com/81569750/130713563-73731d56-9a8b-4f61-9134-a506f72645c6.png) ### Actual Behavior Windows Terminal does not resize but any text inside acts if it did. example: Windows terminal after running `mode CON: cols=50 lines=50` ![WindowsTerminal_jMur1DJyOw](https://user-images.githubusercontent.com/81569750/130713700-63523d1c-813f-472d-995a-764245b19f7a.png) And when there is text in the window after it has been resized ![WindowsTerminal_zmvrBtOcDq](https://user-images.githubusercontent.com/81569750/130713844-c2c4b236-e8ee-45f0-82e6-ce8ce1d17571.png)
claunia added the Resolution-Duplicate label 2026-01-31 04:24:27 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#14963