As you've heard, the new Windows Terminal has been released. What I can't find is how to adjust the window size. In the old consoles, if you wanted to change the settings, it would give you a GUI, but with the new console, you need JSON commands. I've tried a couple of commands which were initialCols
and initialRows
but they didn't work for me, and I have tried to search for a solution for a while. Is there another way for me to adjust the window size or is it just not possible as in this point in time?
You can open the terminal settings through the dropdown menu or by pressing Ctrl + , on your keyboard. From v1. 7, the JSON file that contains all the terminal settings is no longer open by default as was the case in earlier releases.
Click on the drop-down for “Default Terminal application” and choose Windows Terminal from the list. The Windows Terminal app uses the Windows PowerShell profile by default when you launch the app.
If you run Windows Terminal from the Start menu: C:\windows\system32. If you run wt.exe from the Start menu: C:\windows\system32.
Change default Windows Terminal font face with settings UIUse the Shift + Ctrl + , (comma) keyboard shortcut to open the settings UI. Click on Defaults. Click the Appearance tab. Under the “Text” section, use the “Font face” setting and type the name of the style – for example, Consolas.
Open Terminal's settings.json
file in a text editor (e.g. notepad), either from the Settings menu or from disk at %LOCALAPPDATA%\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState
and add the following two lines (with the numbers you want to set instead of 92x60).
"initialCols": 92,
"initialRows": 60,
As noted in the Global settings in Windows Terminal documentation, those two lines should go under the root of the settings.json file, for example right above profiles
.
// A profile specifies a command to execute paired with ...
"profiles":
{
...
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With