Introducing the Latest Preview Version of Windows Terminal - 0.11

Glad to be back with the latest major update before the release of version 1.0! Issues from now until v1.0 will be revisions of this version. As always, you can download the Terminal from the Microsoft Store , or from the release page on GitHub . Under cat, we’ll take a closer look at the update details!

image

Localization


This is the first version of Windows Terminal, whose user interface supports not only English. We are still working on bugs, so we ask you to take this with understanding. If you find any translation problems, please report them to us on GitHub .

Update Settings


We would like to draw your attention to the fact that we made some changes to the settings. We recommend that you move the settings.json file from the application folder so that the Terminal automatically generates a new one. After that, you can copy your settings back.

Settings.json


The profiles.json file has been renamed to settings.json. If you already have Terminal installed, the file name will be automatically updated.

Cascadia code


The Cascadia Code font was set by default for all profiles automatically generated by the Terminal. If you want to change the font, add the fontFace property to any profile or to the defaults section .

Tango color schemes


Now the terminal comes with Tango Dark and Tango Light color schemes.

image

image

Copy and paste


In the newly generated settings.json file, copy and paste operations are tied to ctrl + c and ctrl + v , respectively. The new key bindings work together with ctrl + shift + c and ctrl + shift + v , and if necessary, you can easily remove them. Moreover, if you still decide to abandon ctrl + c and ctrl + v , you will still have the old key combination included in the defaults.json file.

Note: if you want to “free” the old key combination, you can set its value to unbound or null in the settings.json file.

{ "command": "unbound", "keys": "ctrl+shift+c" },
{ "command": null, "keys": "ctrl+shift+v" }

Copy


We changed the default copy behavior to copy without formatting. To do this, a new global copyFormatting parameter was added to the newly generated settings.json file . By default, its value is set to false .

Note: in defaults.json, copyFormatting is set to true .

Settings that have been deleted


In preparation for the release of version 1.0, some obsolete settings were removed. We understand that this probably influenced your work processes, but we hope that you will not have to resort to this in the future.

“Globals” namespace
From now on, the Terminal does not support the globals property in the JSON file. If you have settings inside the globals object , they will be ignored. To solve this problem, remove the globals object and move your global parameters to the root of the JSON file.

theme
The requestedTheme global parameter has been renamed theme . This will help provide flexibility for installing themes in the future.

"theme": "system"

Single line copy
The copyTextWithoutNewlines command and the trimWhitespace argument for the copy action have been removed and replaced with the singleLine argument . This change helps to better explain how this feature works. If you set the value of this argument to true, for the copy action , the contents copied from the Terminal will be pasted in one line.

{ "command": { "action": "copy", "singleLine": true ), "keys": "ctrl+alt+c" }

Creating a tab with a specific profile
The first iteration of creating a new tab with a specific profile had key binding commands from newTabProfile0 to newTabProfile8 . We removed these commands in favor of a more flexible alternative.

Note: indexing in the Terminal starts at 0.

{ "command": { "action": "newTab", "index": NUMBER }, "keys": "ctrl+shift+NUMBER" }

Going to a specific tab. Tab
navigation now has the same structure as creating a new tab. switchToTab0 - switchToTab8 has been removed in favor of the index property .

Note: indexing in the Terminal starts at 0.

{ "command": { "action": "switchToTab", "index": NUMBER }, "keys": "ctrl+alt+NUMBER" }

Partitioning a panel
To provide more options when partitioning a panel, splitHorizontal and splitVertical have been replaced with a new format. In addition, now, if you do not specify the direction of separation, the Terminal will use the division by default using the auto function , which will carry out the staking in order to ensure the largest surface area.

{ "command": { "action": "splitPane", "split": "horizontal"}, "keys": "alt+shift+-" },
{ "command": { "action": "splitPane", "split": "vertical"}, "keys": "alt+shift+plus" }

Switching between panels
Initially, you could use moveFocusDown , moveFocusUp , moveFocusLeft , moveFocusRight to create key bindings that allow you to move between panels. We deleted them and added the following format as a replacement:

{ "command": { "action": "moveFocus", "direction": "down" }, "keys": "alt+down" },
{ "command": { "action": "moveFocus", "direction": "up" }, "keys": "alt+up" },
{ "command": { "action": "moveFocus", "direction": "left" }, "keys": "alt+left" },
{ "command": { "action": "moveFocus", "direction": "right" }, "keys": "alt+right" }

Resizing panels
To follow the same key binding architecture, the old commands for resizing panels ( resizePaneDown , resizePaneUp , resizePaneLeft , resizePaneRight ) have also been removed and replaced with the following format:

{ "command": { "action": "resizePane", "direction": "down" }, "keys": "alt+shift+down" },
{ "command": { "action": "resizePane", "direction": "up" }, "keys": "alt+shift+up" },
{ "command": { "action": "resizePane", "direction": "left" }, "keys": "alt+shift+left" },
{ "command": { "action": "resizePane", "direction": "right" }, "keys": "alt+shift+right" }

Changing the font size
The following key binding commands allowed you to change the font size, but now they are removed: decreaseFontSize , increaseFontSize .

You can change the font size using the key bindings below, which use delta , which determines the font size change in points.

{ "command": { "action": "adjustFontSize", "delta": -1 }, "keys": "ctrl+-" },
{ "command": { "action": "adjustFontSize", "delta": 1 }, "keys": "ctrl+=" }

Error correction


  • No more lines appearing between solid background blocks;
  • Command line arguments work more reliably. In the order in which you expect them;
  • To solve some problems with keyboard layouts that differ from the US-104 QWERTY format, the input stack was changed;
  • Now the borders of the Terminal window correspond to the theme used.

Finally


We hope that you like Windows Terminal, and you, like us, are waiting for version 1.0, which will be released very soon. If you want to leave your review or if you have any questions, feel free to write Kayla (Kayla, @cinnamon_msft ) on Twitter. In addition, if you want to make a proposal to improve the Terminal or report an error in it, then please contact us on GitHub for this . See you soon with our version 1.0!

image

All Articles