Welcome back to another Windows Terminal release! This release updates Windows Terminal to version 1.17 and includes all of the features from this previous blog post. Additionally, Windows Terminal Preview is getting an update to version 1.18 and will include all the features detailed here, so let’s talk all about them!
As always, you can install Windows Terminal and Windows Terminal Preview from the Microsoft Store, from the GitHub releases page, or by using winget.
Yes! We finally have tab tearout! This has been a highly requested feature since the dawn of Terminal time. Starting in Windows Terminal Preview 1.18, you will now be able to tear out the tabs in Windows Terminal.
![tear-tab.gif tear-tab.gif](https://windowsbb.com/data/attachments/41/41966-244d9f32df85188020c1cb9890c0a0c9.jpg)
You will also be able to move tabs from one terminal window into the other.
![attach-tab.gif attach-tab.gif](https://windowsbb.com/data/attachments/41/41967-e4ead6a35e0a2e9fcaf009b308f0bc01.jpg)
The Windows Terminal will now reload the environment variables automatically when a new tab or pane is opened! No longer do you need to fully shut down the Terminal after installing something and changing the PATH – just open a new tab (or restart the current one) and head off to the races.
In addition, you can now add environment variables in your
In the example below, I set two environment variables, both named
The environment variables you set in
This means that if I print the value of
![environmentvariablespowershell.png environmentvariablespowershell.png](https://windowsbb.com/data/attachments/41/41968-99c2cce0796fb85b2d7c5fcd27c94153.jpg)
If I print the value of
![environmentvariablescommandprompt.png environmentvariablescommandprompt.png](https://windowsbb.com/data/attachments/41/41969-68492153b08aa618bd7e4a7516135d41.jpg)
This is an experimental feature that needs to be manually enabled. To manually enable this feature, add
After enabling this feature, you will be able to see a context menu after right-clicking the shell in your terminal.
![defaultrightclickcontextmenu.png defaultrightclickcontextmenu.png](https://windowsbb.com/data/attachments/41/41970-c1774996072321c7936a6773612bca51.jpg)
By default, you will see Paste, Split Pane, Duplicate Tab, and Close Tab as your options.
If you highlight text and open the right click context menu, you will also see a Copy option next to Paste. If you have another pane open, then you will also see Close Pane as another option.
If you have our experimental shell integration feature enabled, then you will also see Select Command and Select Output as options.
![shellintegration.gif shellintegration.gif](https://windowsbb.com/data/attachments/41/41971-65712d37a8505bc0b754465a268228da.jpg)
Enabling shell integration marks vary from shell to shell. To learn how to enable shell integration for your favorite shell, visit this Shell integration tutorial to find out more!
Our experimental text rendering engine, the
Below is a series of “before” and “after” pictures of the Atlas Engine rewrites.
Here is a before image of Fira Code with the old
![FiraCode_cpp_AtlasEngine_v1.png FiraCode_cpp_AtlasEngine_v1.png](https://windowsbb.com/data/attachments/41/41972-9b9b551e1f3c851da27d7c41a56b6c6c.jpg)
Here is an after image of Fira Code with our new
![FiraCode_cpp_AtlasEngine_v2.png FiraCode_cpp_AtlasEngine_v2.png](https://windowsbb.com/data/attachments/41/41973-acb64b20e97252e7a547a65a1a072b21.jpg)
We can see that the old AtlasEngine shrinks glyphs. In our new AtlasEngine, we now handle those glyphs correctly.
We also have a before image of the Code New Roman font as an example.
![CodeNewRoman_NF_AtlasEngine_v1.png CodeNewRoman_NF_AtlasEngine_v1.png](https://windowsbb.com/data/attachments/41/41974-41ab8f27800e5578a3454882b4aa6f51.jpg)
Here is an after image for the Code New Roman font with
![CodeNewRoman_NF_AtlasEngine_v2.png CodeNewRoman_NF_AtlasEngine_v2.png](https://windowsbb.com/data/attachments/41/41975-fdf3e3b586e9f6ef8035c6aa7464432e.jpg)
In the screenshots above, you can see how our
in the Misc. glyphs row, and proper inversion of complex Unicode (without making the glyphs larger than they are supposed to be.)
We have also ensured that the
As of stable channel version 1.17, Windows Terminal will support being deployed in “Portable mode”. Portable mode ensures that all data created and maintained by Windows Terminal is saved next to the application so that it can be more easily moved across different environments.
Portable mode is supported by the unpackaged “ZIP” distribution. This is an officially-supported mode of execution where Windows Terminal stores its settings in a settings folder next to
The unpackaged and portable mode distributions of Windows Terminal allow you to use Terminal without installing it globally, e.g. on systems where you may not have permission to install MSIX packages or download software from the Microsoft Store. Portable mode allows you to carry around or archive a preconfigured installation of Windows Terminal and run it from a network share, cloud drive or USB flash drive. Any such installation is self-contained and will not interfere with other installed distributions of Windows Terminal.
Portable mode needs to be enabled manually. After unzipping the Windows Terminal download, create a file named
Windows Terminal will automatically create a directory named
Note that Windows Terminal will NOT automatically reload its settings and transform your terminal into portable mode right after you create the
This change will only apply after you relaunch Terminal. You can verify if you are in portable mode, by selecting “About” in the dropdown menu.
![portablemode.png portablemode.png](https://windowsbb.com/data/attachments/41/41977-2db976bfd397f0c38a78b3d0e49e93b1.jpg)
From here, you can customize Windows Terminal to your liking and then copy that entire Windows Terminal folder to a USB flash drive or network share to use on the go or to share with others!
For more information on the various distribution types that Windows Terminal offers, please see our distribution docs!
Windows Terminal can now use Ctrl+Shift to run terminal elevated from the context menu (thanks @jamespack!)
Users can now enable and disable read-only mode rather than toggling it with the
We added “legacy” themes to our available default themes. Check them out in the Settings UI!
We improved the preview text in the Settings UI and enabled the cursor
Users can now customize cell sizes and line spacing
A warning now appears when a proportional font is selected (thanks again @jamespack!)
We added an action to immediately restart a connection (
We added an action to manually invoke the control context menu
Added jump list support for indirect icon references (thanks yet again @jamespack!)
Any WSL distribution named
Added support for horizontal margin sequences (thanks @j4james!)
Added support for bracketed paste mode in ConHost (thanks again @j4james!)
Added support for CSI 18t (thanks @michalnpl!)
Added subtext to why “Always show tabs” is not toggleable in the Settings UI (thanks @BenConstable9!)
The reset button is now accessible with description in reset (thanks @michalnpl!)
We refactored how connection restart is handled and added an action for
If you are using the FTCS “start of command”, “start of output” and “end of output” marks (
Active attributes are now preserved during Virtual Terminal (VT) resize operations (thanks @j4james!)
ConHost now respects the codepage stored in
Windows Terminal will now focus on the shell instead of the titlebar when a profile is selected from a nested menu entry (thanks @kkostrzewa!)
We now manually pre-evaluate the starting directory when calling
We now use a “virtual CWD” for each terminal window
We fixed a bug in default terminal startup that should fix some apps that immediately print lots of text to the console
We now use the persisted position with
We love working with the community and recognizing those who made an impact for each release. Here are the community members who helped out for this one!
j4james
jamespack
@ianjoneill
j4james
Saiteja341
Vampire
j4james
jamespack
@ianjoneill
I would also like to give additional recognition to @kovdu, @Swinkid, @Yovach, and MikuAuahDark for their help on documentation, code health, grammar, spelling, workflow security and maintenance!
We hope you enjoy this latest release of Windows Terminal Preview! More information on these new features can be found on our docs site and if you find any bugs or have feature requests, feel free to file them on GitHub. If you have any questions you can reach out to Christopher Nguyen (@nguyen_dows) on Twitter.
Thank you!
![Jan2023Signatures.png Jan2023Signatures.png](https://windowsbb.com/data/attachments/42/42013-4698ef47d43a2c008004f272ba2b1592.jpg)
The post Windows Terminal Preview 1.18 Release appeared first on Windows Command Line.
Continue reading...
As always, you can install Windows Terminal and Windows Terminal Preview from the Microsoft Store, from the GitHub releases page, or by using winget.
Tab Tearout
Yes! We finally have tab tearout! This has been a highly requested feature since the dawn of Terminal time. Starting in Windows Terminal Preview 1.18, you will now be able to tear out the tabs in Windows Terminal.
![tear-tab.gif tear-tab.gif](https://windowsbb.com/data/attachments/41/41966-244d9f32df85188020c1cb9890c0a0c9.jpg)
You will also be able to move tabs from one terminal window into the other.
![attach-tab.gif attach-tab.gif](https://windowsbb.com/data/attachments/41/41967-e4ead6a35e0a2e9fcaf009b308f0bc01.jpg)
Environment Variable Updates
The Windows Terminal will now reload the environment variables automatically when a new tab or pane is opened! No longer do you need to fully shut down the Terminal after installing something and changing the PATH – just open a new tab (or restart the current one) and head off to the races.
In addition, you can now add environment variables in your
settings.json
. Shoutout to @ianjoneill for this community-contributed feature! This can be done in defaults
or in any profile.In the example below, I set two environment variables, both named
MY_ENVIRONMENT_VARIABLE
, in defaults
and in my PowerShell
profile:JSON
Code:
"profiles":
{
"defaults":
{
"environment": {
"MY_ENVIRONMENT_VARIABLE": "Hi from defaults!"
},
},
"list":
[
{
"guid": "{574e775e-4f2a-5b96-ac1e-a2962a402336}",
"name": "PowerShell",
"source": "Windows.Terminal.PowershellCore",
"environment":
{
"MY_ENVIRONMENT_VARIABLE": "Hi from PowerShell!"
}
}
]
}
The environment variables you set in
defaults
will be available to all of your profiles. The environment variables that you set within a specific profile will only be available for that specific profile.This means that if I print the value of
MY_ENVIRONMENT_VARIABLE
in my PowerShell profile, then I will see “Hi from PowerShell!”![environmentvariablespowershell.png environmentvariablespowershell.png](https://windowsbb.com/data/attachments/41/41968-99c2cce0796fb85b2d7c5fcd27c94153.jpg)
If I print the value of
MY_ENVIRONMENT_VARIABLE
in any other profile such as Command Prompt, then I will see “Hi from defaults!”![environmentvariablescommandprompt.png environmentvariablescommandprompt.png](https://windowsbb.com/data/attachments/41/41969-68492153b08aa618bd7e4a7516135d41.jpg)
Right-Click Context Menu (Experimental)
This is an experimental feature that needs to be manually enabled. To manually enable this feature, add
"experimental.rightClickContextMenu": "true"
in the defaults
section of your profiles
section of your settings.json
:JSON
Code:
"profiles":
{
"defaults":
{
"experimental.rightClickContextMenu": true
},
...
After enabling this feature, you will be able to see a context menu after right-clicking the shell in your terminal.
![defaultrightclickcontextmenu.png defaultrightclickcontextmenu.png](https://windowsbb.com/data/attachments/41/41970-c1774996072321c7936a6773612bca51.jpg)
By default, you will see Paste, Split Pane, Duplicate Tab, and Close Tab as your options.
If you highlight text and open the right click context menu, you will also see a Copy option next to Paste. If you have another pane open, then you will also see Close Pane as another option.
If you have our experimental shell integration feature enabled, then you will also see Select Command and Select Output as options.
![shellintegration.gif shellintegration.gif](https://windowsbb.com/data/attachments/41/41971-65712d37a8505bc0b754465a268228da.jpg)
Enabling shell integration marks vary from shell to shell. To learn how to enable shell integration for your favorite shell, visit this Shell integration tutorial to find out more!
Atlas Engine Improvements
Our experimental text rendering engine, the
AtlasEngine
, has gotten major improvements in Windows Terminal Preview 1.18. This text rendering engine has been nearly, completely rewritten to support overlapping text and, as a result, will no longer cut off italic text, emojis, or complex scripts. It will continue to clip box glyphs to their cells.Below is a series of “before” and “after” pictures of the Atlas Engine rewrites.
Here is a before image of Fira Code with the old
AtlasEngine
![FiraCode_cpp_AtlasEngine_v1.png FiraCode_cpp_AtlasEngine_v1.png](https://windowsbb.com/data/attachments/41/41972-9b9b551e1f3c851da27d7c41a56b6c6c.jpg)
Here is an after image of Fira Code with our new
AtlasEngine
in 1.18 Preview.![FiraCode_cpp_AtlasEngine_v2.png FiraCode_cpp_AtlasEngine_v2.png](https://windowsbb.com/data/attachments/41/41973-acb64b20e97252e7a547a65a1a072b21.jpg)
We can see that the old AtlasEngine shrinks glyphs. In our new AtlasEngine, we now handle those glyphs correctly.
We also have a before image of the Code New Roman font as an example.
![CodeNewRoman_NF_AtlasEngine_v1.png CodeNewRoman_NF_AtlasEngine_v1.png](https://windowsbb.com/data/attachments/41/41974-41ab8f27800e5578a3454882b4aa6f51.jpg)
Here is an after image for the Code New Roman font with
AtlasEngine
in 1.18 Preview.![CodeNewRoman_NF_AtlasEngine_v2.png CodeNewRoman_NF_AtlasEngine_v2.png](https://windowsbb.com/data/attachments/41/41975-fdf3e3b586e9f6ef8035c6aa7464432e.jpg)
In the screenshots above, you can see how our
AtlasEngine
rewrite in 1.18 Preview fixed powerline rendering. We now have no weird gaps, no cut off glyphs, and no shrunken glyphs. There is now also proper overlapping glyphs in the APL set, ![2714.png 2714.png](https://windowsbb.com/data/attachments/41/41976-51b9257a2613159997d2e4dd0d2d4b18.jpg)
We have also ensured that the
AtlasEngine
continues to support animated shaders, Han unification, and loc1
glyph variants in Windows Terminal Preview 1.18. The AtlasEngine
will also now be used to display the Appearance preview in the Windows Terminal Settings UIs for profiles which it is enabled.Portable Mode
As of stable channel version 1.17, Windows Terminal will support being deployed in “Portable mode”. Portable mode ensures that all data created and maintained by Windows Terminal is saved next to the application so that it can be more easily moved across different environments.
Portable mode is supported by the unpackaged “ZIP” distribution. This is an officially-supported mode of execution where Windows Terminal stores its settings in a settings folder next to
WindowsTerminal.exe
. Portable mode is not supported in the packaged or preinstallation kit distributions of Windows Terminal.The unpackaged and portable mode distributions of Windows Terminal allow you to use Terminal without installing it globally, e.g. on systems where you may not have permission to install MSIX packages or download software from the Microsoft Store. Portable mode allows you to carry around or archive a preconfigured installation of Windows Terminal and run it from a network share, cloud drive or USB flash drive. Any such installation is self-contained and will not interfere with other installed distributions of Windows Terminal.
Portable mode needs to be enabled manually. After unzipping the Windows Terminal download, create a file named
.portable
next to WindowsTerminal.exe
.Windows Terminal will automatically create a directory named
settings
after you launch WindowsTerminal.exe
. That settings
directory will store both settings and runtime state such as window layouts.Note that Windows Terminal will NOT automatically reload its settings and transform your terminal into portable mode right after you create the
.portable
file.This change will only apply after you relaunch Terminal. You can verify if you are in portable mode, by selecting “About” in the dropdown menu.
![portablemode.png portablemode.png](https://windowsbb.com/data/attachments/41/41977-2db976bfd397f0c38a78b3d0e49e93b1.jpg)
From here, you can customize Windows Terminal to your liking and then copy that entire Windows Terminal folder to a USB flash drive or network share to use on the go or to share with others!
For more information on the various distribution types that Windows Terminal offers, please see our distribution docs!
Usability Updates
![26a1.png 26a1.png](https://windowsbb.com/data/attachments/41/41978-78140684f45698cae3761fb62ae349b6.jpg)
![26a1.png 26a1.png](https://windowsbb.com/data/attachments/41/41979-78140684f45698cae3761fb62ae349b6.jpg)
enableReadOnly
and disableReadOnly
actions (thanks @Swinkid!)![26a1.png 26a1.png](https://windowsbb.com/data/attachments/41/41980-78140684f45698cae3761fb62ae349b6.jpg)
![26a1.png 26a1.png](https://windowsbb.com/data/attachments/41/41981-78140684f45698cae3761fb62ae349b6.jpg)
![26a1.png 26a1.png](https://windowsbb.com/data/attachments/41/41982-78140684f45698cae3761fb62ae349b6.jpg)
![26a1.png 26a1.png](https://windowsbb.com/data/attachments/41/41983-78140684f45698cae3761fb62ae349b6.jpg)
![26a1.png 26a1.png](https://windowsbb.com/data/attachments/41/41984-78140684f45698cae3761fb62ae349b6.jpg)
restartConnection
). You also manually invoke this menu with a keyboard shortcut by binding a keybinding instead![26a1.png 26a1.png](https://windowsbb.com/data/attachments/41/41985-78140684f45698cae3761fb62ae349b6.jpg)
![26a1.png 26a1.png](https://windowsbb.com/data/attachments/41/41986-78140684f45698cae3761fb62ae349b6.jpg)
![26a1.png 26a1.png](https://windowsbb.com/data/attachments/41/41987-78140684f45698cae3761fb62ae349b6.jpg)
$theme.tab.showCloseButton
now supports activeOnly
, to display the x only on the active tab (thanks @kovdu!)![26a1.png 26a1.png](https://windowsbb.com/data/attachments/41/41988-78140684f45698cae3761fb62ae349b6.jpg)
rancher-desktop
or rancher-desktop-data
will be ignored. Thanks for helping us with this, @jamespack. For more information on this change, please see issue #12757 on GitHub.Miscellaneous Improvements
![1f6e0.png 1f6e0.png](https://windowsbb.com/data/attachments/41/41989-c8a9ede907f824bd254c584d3caf079d.jpg)
![1f6e0.png 1f6e0.png](https://windowsbb.com/data/attachments/41/41990-c8a9ede907f824bd254c584d3caf079d.jpg)
![1f6e0.png 1f6e0.png](https://windowsbb.com/data/attachments/41/41991-c8a9ede907f824bd254c584d3caf079d.jpg)
![1f6e0.png 1f6e0.png](https://windowsbb.com/data/attachments/41/41992-c8a9ede907f824bd254c584d3caf079d.jpg)
![1f6e0.png 1f6e0.png](https://windowsbb.com/data/attachments/41/41993-c8a9ede907f824bd254c584d3caf079d.jpg)
![1f6e0.png 1f6e0.png](https://windowsbb.com/data/attachments/41/41994-c8a9ede907f824bd254c584d3caf079d.jpg)
restartConnection
for manually restarting a tab or pane![1f6e0.png 1f6e0.png](https://windowsbb.com/data/attachments/41/41995-c8a9ede907f824bd254c584d3caf079d.jpg)
OSC 133
), you can now use the selectCommand
and selectOutput
actions to select the command or output as demarcated by those sequencesBug Fixes
![1f41b.png 1f41b.png](https://windowsbb.com/data/attachments/41/41996-17606934bd4981713b603002eb9b7898.jpg)
![1f41b.png 1f41b.png](https://windowsbb.com/data/attachments/41/41997-17606934bd4981713b603002eb9b7898.jpg)
LineFeed
and PrintString
functionality is now merged into AdaptDispatch
(thanks again @j4james!)![1f41b.png 1f41b.png](https://windowsbb.com/data/attachments/41/41998-17606934bd4981713b603002eb9b7898.jpg)
.LNK
files (thanks @michalnpl!)![1f41b.png 1f41b.png](https://windowsbb.com/data/attachments/41/41999-17606934bd4981713b603002eb9b7898.jpg)
![1f41b.png 1f41b.png](https://windowsbb.com/data/attachments/42/42000-17606934bd4981713b603002eb9b7898.jpg)
elevate-shim
![1f41b.png 1f41b.png](https://windowsbb.com/data/attachments/42/42001-17606934bd4981713b603002eb9b7898.jpg)
![1f41b.png 1f41b.png](https://windowsbb.com/data/attachments/42/42002-17606934bd4981713b603002eb9b7898.jpg)
![1f41b.png 1f41b.png](https://windowsbb.com/data/attachments/42/42003-17606934bd4981713b603002eb9b7898.jpg)
centerOnLaunch:true
Top contributors
We love working with the community and recognizing those who made an impact for each release. Here are the community members who helped out for this one!
Contributors who created the most merged pull requests
![1f3c6.png 1f3c6.png](https://windowsbb.com/data/attachments/42/42004-5c6fefd90224ec3838415da79149c60c.jpg)
![1f3c6.png 1f3c6.png](https://windowsbb.com/data/attachments/42/42005-5c6fefd90224ec3838415da79149c60c.jpg)
![1f3c6.png 1f3c6.png](https://windowsbb.com/data/attachments/42/42006-5c6fefd90224ec3838415da79149c60c.jpg)
Contributors who opened the most non-duplicate issues
![1f3c6.png 1f3c6.png](https://windowsbb.com/data/attachments/42/42007-5c6fefd90224ec3838415da79149c60c.jpg)
![1f3c6.png 1f3c6.png](https://windowsbb.com/data/attachments/42/42008-5c6fefd90224ec3838415da79149c60c.jpg)
![1f3c6.png 1f3c6.png](https://windowsbb.com/data/attachments/42/42009-5c6fefd90224ec3838415da79149c60c.jpg)
Contributors who provided the most comments on pull requests
![1f3c6.png 1f3c6.png](https://windowsbb.com/data/attachments/42/42010-5c6fefd90224ec3838415da79149c60c.jpg)
![1f3c6.png 1f3c6.png](https://windowsbb.com/data/attachments/42/42011-5c6fefd90224ec3838415da79149c60c.jpg)
![1f3c6.png 1f3c6.png](https://windowsbb.com/data/attachments/42/42012-5c6fefd90224ec3838415da79149c60c.jpg)
I would also like to give additional recognition to @kovdu, @Swinkid, @Yovach, and MikuAuahDark for their help on documentation, code health, grammar, spelling, workflow security and maintenance!
Mahalo!
We hope you enjoy this latest release of Windows Terminal Preview! More information on these new features can be found on our docs site and if you find any bugs or have feature requests, feel free to file them on GitHub. If you have any questions you can reach out to Christopher Nguyen (@nguyen_dows) on Twitter.
Thank you!
![Jan2023Signatures.png Jan2023Signatures.png](https://windowsbb.com/data/attachments/42/42013-4698ef47d43a2c008004f272ba2b1592.jpg)
The post Windows Terminal Preview 1.18 Release appeared first on Windows Command Line.
Continue reading...