Windows Terminal Update: Preview 1910

Hello, Habr! We are glad to announce that the next update for Windows Terminal has been released! Among the new products: dynamic profiles, cascading settings, an updated UI, new launch options and more. More details under the cut!



As always, the Terminal is available for download on the Microsoft Store , Microsoft Store for Business, and on GitHub .



image



Dynamic profiles



Windows Terminal now automatically detects PowerShell Core and installed Windows Subsystem for Linux (WSL) distributions. In other words, if after this update you install any distribution kit, it will be immediately added to the profiles.json file.



image



Note : if you do not want the profile to be displayed in the drop-down menu, you can set the "hidden"



parameter to the true



profiles.json file.



"hidden": true







Cascading settings



Now the Terminal has an improved settings model. From now on, it comes with the defaults.json file, which includes all the default settings. If you want to familiarize yourself with the contents of the file, then holding Alt , press the Settings button in the drop-down menu. The opened file is automatically generated, and changes made to the file are ignored and overwritten. However, you can add as many user preferences as you like to the profiles.json file. If you want to reset the settings, I recommend that you pay attention to the excellent article by Scott Hanselman (Scott Hanselman, @shanselman ), which he posted on his blog.



If you add a new profile, scheme, key binding or global parameter to profiles.json, then it will be considered an added parameter. If you create a new profile with a GUID that matches the existing one, your new profile will replace the old one. If the defaults.json file has a key binding that you would like to refuse to use, then set this binding to null



in profiles.json.



{

"command": null, "keys": ["ctrl+shift+w"]

}








New launch options



Now you can configure the Terminal to constantly run in full screen or set its initial position on the screen. The Terminal can be configured to run in full screen by adding the global parameter "launchMode"



. This parameter can be either "default"



or "maximized"



.



"launchMode": "maximized"







If you want to set the initial position of the Terminal on the screen, you need to add "initialPosition"



as a global parameter, and also specify the X and Y coordinates separated by a comma. For example, if you want the Terminal to start in the upper left corner of your main screen, add in profiles.json entry:



"initialPosition": "0,0"







Note : if you use several monitors and want the Terminal to start on the left or above the main monitor, then you will have to use negative coordinates.



Updated UI



The interface of the Terminal has become even better. Used in Terminal WinUI TabView has been updated to version 2.2. This version has the best color contrast, rounded corners in the drop-down menu and tab separators. In addition, now, as soon as you open a large number of tabs, you have the ability to scroll through them using the buttons.



image



Fixed bugs





Finally



If you have a question or just want to share your impressions about the Terminal, then feel free to write Kayla ( @cinnamon_msft ) on Twitter. In addition, if you have any problems or wishes, you can always contact us on GitHub . See you next month!



All Articles