{"id":6501,"date":"2021-03-01T10:00:47","date_gmt":"2021-03-01T18:00:47","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/commandline\/?p=6501"},"modified":"2021-03-01T10:00:47","modified_gmt":"2021-03-01T18:00:47","slug":"windows-terminal-preview-1-7-release","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/commandline\/windows-terminal-preview-1-7-release\/","title":{"rendered":"Windows Terminal Preview 1.7 Release"},"content":{"rendered":"<p>Welcome back to another release of Windows Terminal! This release migrates <a href=\"https:\/\/aka.ms\/terminal\" rel=\"noopener\" target=\"_blank\">Windows Terminal<\/a> to version 1.6, which includes all of the features from this <a href=\"https:\/\/devblogs.microsoft.com\/commandline\/windows-terminal-preview-1-6-release\/\" rel=\"noopener\" target=\"_blank\">previous blog post<\/a> except for the settings UI. <a href=\"https:\/\/aka.ms\/terminal-preview\" rel=\"noopener\" target=\"_blank\">Windows Terminal Preview<\/a> will move to version 1.7, which includes all of the features described below. You can install both Windows Terminal and Windows Terminal Preview from the Microsoft Store or from the <a href=\"https:\/\/github.com\/microsoft\/terminal\/releases\" rel=\"noopener\" target=\"_blank\">GitHub releases page<\/a>. Let&#8217;s check out what&#8217;s new!<\/p>\n<h2>JSON fragment extensions<\/h2>\n<p>Windows Terminal now supports JSON fragment extensions. This means that snippets of JSON can be downloaded as extensions that can modify a user&#8217;s settings. You can create a folder that includes the JSON snippet file as well as other assets such as background images to include in your extension. This is especially useful for applications who want a specific color scheme to go with their executable or for a community member to share their Windows Terminal configuration with just a simple download. Full documentation on how to create a JSON fragment extension can be found on our <a href=\"https:\/\/docs.microsoft.com\/windows\/terminal\/json-fragment-extensions\" rel=\"noopener\" target=\"_blank\">docs site<\/a>.<\/p>\n<h2>Windowing improvements<\/h2>\n<p>You can now set new terminal windows to launch in an already existing terminal instance! This can be done in a few different ways:<\/p>\n<p>A new global setting has been added called <code>windowingBehavior<\/code>, which allows you to set where new instances of Windows Terminal launch. Options include a new window (<code>\"useNew\"<\/code>), an already existing window (<code>\"useAnyExisting\"<\/code>), and an already existing window on this desktop (<code>\"useExisting\"<\/code>). This setting can be found on the Startup page of the settings UI.<\/p>\n<pre><code>\"windowingBehavior\": \"useNew\"\n<\/code><\/pre>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2021\/02\/windowing-behavior.gif\"><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2021\/02\/windowing-behavior.gif\" alt=\"Image windowing behavior\" width=\"2238\" height=\"1340\" class=\"alignnone size-full wp-image-6502\" \/><\/a><\/p>\n<p>We have a new action called <code>newWindow<\/code>, which allows you to open a new window with the command palette and\/or your keyboard.<\/p>\n<pre><code>{ \"command\": \"newWindow\", \"keys\": \"ctrl+shift+n\" }\n<\/code><\/pre>\n<p>There&#8217;s a new command line argument for running commands in specific windows as well. You can use <code>--window,-w &lt;window-id&gt;<\/code> with <code>wt.exe<\/code> to specify which terminal window you&#8217;d like to interact with.<\/p>\n<pre><code>\/\/ Open a new tab with the default profile in the current window\nwt -w 0 new-tab\n\n\/\/ Open a new tab with the default profile in the third-created terminal window\nwt -w 3 new-tab\n\n\/\/ Open a new tab with the default profile in a new window\nwt -w -1 new-tab\n<\/code><\/pre>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2021\/02\/windowing-cla.gif\"><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2021\/02\/windowing-cla.gif\" alt=\"Image windowing cla\" width=\"2259\" height=\"1422\" class=\"alignnone size-full wp-image-6503\" \/><\/a><\/p>\n<h2>Read-only panes<\/h2>\n<p>Windows Terminal now supports read-only panes (Thanks <a href=\"https:\/\/github.com\/don-vito\" rel=\"noopener\" target=\"_blank\">@Don-Vito<\/a>!). This allows you to prevent input into a pane, which could be useful if you have a build or process running that you don&#8217;t want to interrupt. If you attempt to close or input text into a read-only pane, the terminal will display a popup warning instead. You can toggle read-only mode on a pane with the <code>toggleReadOnlyMode<\/code> action.<\/p>\n<pre><code>{ \"command\": \"toggleReadOnlyMode\" },\n<\/code><\/pre>\n<p>\ud83d\udc49 <strong>Note:<\/strong> This action is bound by default in the command palette, however it does not have keys attached to it.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2021\/02\/read-only-pane.gif\"><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2021\/02\/read-only-pane.gif\" alt=\"Image read only pane\" width=\"1734\" height=\"978\" class=\"alignnone size-full wp-image-6504\" \/><\/a><\/p>\n<h2>Automatically focus on mouse hover<\/h2>\n<p>A new setting has been added where you can automatically focus a pane when it&#8217;s hovered with the mouse (Thanks <a href=\"https:\/\/github.com\/don-vito\" rel=\"noopener\" target=\"_blank\">@Don-Vito<\/a>!). This new global setting can be found on the Interaction page of the settings UI or can be set in your settings.json with <code>focusFollowMouse<\/code>.<\/p>\n<pre><code>\"focusFollowMouse\": true\n<\/code><\/pre>\n<p>\ud83d\udc49 <strong>Note:<\/strong> This setting is set to <code>false<\/code> by default.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2021\/02\/focus-follow-mouse.gif\"><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2021\/02\/focus-follow-mouse.gif\" alt=\"Image focus follow mouse\" width=\"1730\" height=\"975\" class=\"alignnone size-full wp-image-6505\" \/><\/a><\/p>\n<h2>Settings UI updates<\/h2>\n<p>We are still actively working on improving the settings UI experience. Here are some updates with this release:<\/p>\n<h3>Settings UI is now default<\/h3>\n<p>The settings UI is now attached to the Settings button in the dropdown menu, making it the default experience for those using Windows Terminal Preview. If you&#8217;d like to use the keyboard to access your settings, here are the shortcuts that come with the terminal by default:<\/p>\n<ul>\n<li>\n<p>Open the settings UI: <kbd>Ctrl<\/kbd>+<kbd>,<\/kbd><\/p>\n<\/li>\n<li>\n<p>Open the settings.json file: <kbd>Ctrl<\/kbd>+<kbd>Shift<\/kbd>+<kbd>,<\/kbd><\/p>\n<\/li>\n<li>\n<p>Open the defaults.json file (cannot be edited, but shows which settings are enabled by default): <kbd>Ctrl<\/kbd>+<kbd>Alt<\/kbd>+<kbd>,<\/kbd><\/p>\n<\/li>\n<\/ul>\n<p>Not every setting is available through the settings UI just yet. For a full list of possible settings, you can check out our <a href=\"https:\/\/aka.ms\/terminal-docs\" rel=\"noopener\" target=\"_blank\">docs site<\/a>. If there is a setting you would like to see in the settings UI that is currently only available in the settings.json file, please let us know on <a href=\"https:\/\/github.com\/microsoft\/terminal\" rel=\"noopener\" target=\"_blank\">GitHub<\/a>!<\/p>\n<h3>Actions page<\/h3>\n<p>We have just added a new Actions page, which shows you all of the keyboard shortcuts that you can use in the terminal. Our next step is to make actions editable in the settings UI, so you can customize these keyboard shortcuts without having to go to your settings.json file.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2021\/02\/actions-page.png\"><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2021\/02\/actions-page.png\" alt=\"Image actions page\" width=\"1732\" height=\"980\" class=\"alignnone size-full wp-image-6506\" srcset=\"https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2021\/02\/actions-page.png 1732w, https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2021\/02\/actions-page-300x170.png 300w, https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2021\/02\/actions-page-1024x579.png 1024w, https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2021\/02\/actions-page-768x435.png 768w, https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2021\/02\/actions-page-1536x869.png 1536w\" sizes=\"(max-width: 1732px) 100vw, 1732px\" \/><\/a><\/p>\n<h3>Redesigned color schemes page<\/h3>\n<p>We received feedback that the Color schemes page could use a redesign. We worked with <a href=\"https:\/\/github.com\/mdtauk\" rel=\"noopener\" target=\"_blank\">@mdtauk<\/a> to come up with a cleaner design that&#8217;s less cluttered while also pairing colors with their bright variants.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2021\/02\/color-schemes.png\"><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2021\/02\/color-schemes.png\" alt=\"Image color schemes\" width=\"1766\" height=\"1087\" class=\"alignnone size-full wp-image-6507\" srcset=\"https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2021\/02\/color-schemes.png 1766w, https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2021\/02\/color-schemes-300x185.png 300w, https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2021\/02\/color-schemes-1024x630.png 1024w, https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2021\/02\/color-schemes-768x473.png 768w, https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2021\/02\/color-schemes-1536x945.png 1536w\" sizes=\"(max-width: 1766px) 100vw, 1766px\" \/><\/a><\/p>\n<h3>Accessibility and keyboard navigation<\/h3>\n<p>We&#8217;ve been working hard on accessibility for the settings UI and have made great progress. The settings UI has been tested with a screen reader and everything should be keyboard accessible. If you find any bugs with accessibility, we strongly encourage you to file them on <a href=\"https:\/\/github.com\/microsoft\/terminal\" rel=\"noopener\" target=\"_blank\">GitHub<\/a>.<\/p>\n<h2>Other features<\/h2>\n<h3>Center on launch<\/h3>\n<p>A new global setting called <code>centerOnLaunch<\/code> has been added, which allows you to launch the terminal in the center of your screen (Thanks <a href=\"https:\/\/github.com\/Hegunumo\" rel=\"noopener\" target=\"_blank\">@Hegunumo<\/a>!). If paired with the <code>initialPosition<\/code> setting, the terminal will launch centered on the monitor that the initial position coordinates are set to.<\/p>\n<pre><code>\"centerOnLaunch\": true\n<\/code><\/pre>\n<p>\ud83d\udc49 <strong>Note:<\/strong> This setting is not enabled by default and is not yet in the settings UI.<\/p>\n<h3>Find next\/previous action<\/h3>\n<p>A new action has been added for the search functionality that lets you find the next or previous match of your searched keyword without the search box (Thanks <a href=\"https:\/\/github.com\/Hegunumo\" rel=\"noopener\" target=\"_blank\">@Hegunumo<\/a>!). This action is inside the command palette by default and you can add keys to it if you&#8217;d like in your settings.json file.<\/p>\n<pre><code>{ \"command\": { \"action\": \"findMatch\", \"direction\": \"next\" } },\n{ \"command\": { \"action\": \"findMatch\", \"direction\": \"prev\" } }\n<\/code><\/pre>\n<h2>Miscellaneous improvements<\/h2>\n<p>\ud83d\udee0 The tab switcher now displays the zoom, bell, and progress indicators (Thanks <a href=\"https:\/\/github.com\/don-vito\" rel=\"noopener\" target=\"_blank\">@Don-Vito<\/a>!).<\/p>\n<p>\ud83d\udee0 The terminal now supports paste filtering and bracketed paste mode (Thanks <a href=\"https:\/\/github.com\/skyline75489\" rel=\"noopener\" target=\"_blank\">@skyline75489<\/a>!).<\/p>\n<p>\ud83d\udee0 The bell indicator will always appear in the tab when the BEL sequence is emitted.<\/p>\n<p>\ud83d\udee0 Hyperlinks now support the <code>file<\/code> URI scheme.<\/p>\n<h2>Bug fixes<\/h2>\n<p>\ud83d\udc1b Hyperlinks now de-underline when the pane is not focused (Thanks <a href=\"https:\/\/github.com\/don-vito\" rel=\"noopener\" target=\"_blank\">@Don-Vito<\/a>!).<\/p>\n<p>\ud83d\udc1b The tab color picker now supports keyboard navigation (Thanks <a href=\"https:\/\/github.com\/BenConstable9\" rel=\"noopener\" target=\"_blank\">@BenConstable9<\/a>!).<\/p>\n<p>\ud83d\udc1b You can once again use arrow keys in the tab switcher (Thanks <a href=\"https:\/\/github.com\/don-vito\" rel=\"noopener\" target=\"_blank\">@Don-Vito<\/a>!).<\/p>\n<p>\ud83d\udc1b Focus should now return to the terminal after you dismiss the tab rename field (thanks <a href=\"https:\/\/github.com\/don-vito\" rel=\"noopener\" target=\"_blank\">@Don-Vito<\/a>!).<\/p>\n<h2>Top contributors<\/h2>\n<p>We absolutely love working with the community to make Windows Terminal a more enjoyable experience for everyone. Here are some of the people who have made an impact on this release!<\/p>\n<h3>Contributors who opened the most non-duplicate issues<\/h3>\n<p>\ud83c\udfc6 <a href=\"https:\/\/github.com\/vefatica\" rel=\"noopener\" target=\"_blank\">vefatica<\/a><\/p>\n<p>\ud83c\udfc6 <a href=\"https:\/\/github.com\/trajano\" rel=\"noopener\" target=\"_blank\">trajano<\/a><\/p>\n<p>\ud83c\udfc6 <a href=\"https:\/\/github.com\/WSLUser\" rel=\"noopener\" target=\"_blank\">WSLUser<\/a><\/p>\n<p>\ud83c\udfc6 <a href=\"https:\/\/github.com\/opticyclic\" rel=\"noopener\" target=\"_blank\">opticyclic<\/a><\/p>\n<h3>Contributors who created the most merged pull requests<\/h3>\n<p>\ud83c\udfc6 <a href=\"https:\/\/github.com\/don-vito\" rel=\"noopener\" target=\"_blank\">Don-Vito<\/a><\/p>\n<p>\ud83c\udfc6 <a href=\"https:\/\/github.com\/skyline75489\" rel=\"noopener\" target=\"_blank\">skyline75489<\/a><\/p>\n<p>\ud83c\udfc6 <a href=\"https:\/\/github.com\/Nacimota\" rel=\"noopener\" target=\"_blank\">Nacimota<\/a><\/p>\n<h3>Contributors who provided the most comments on pull requests<\/h3>\n<p>\ud83c\udfc6 <a href=\"https:\/\/github.com\/skyline75489\" rel=\"noopener\" target=\"_blank\">skyline75489<\/a><\/p>\n<p>\ud83c\udfc6 <a href=\"https:\/\/github.com\/don-vito\" rel=\"noopener\" target=\"_blank\">Don-Vito<\/a><\/p>\n<p>\ud83c\udfc6 <a href=\"https:\/\/github.com\/Chips1234\" rel=\"noopener\" target=\"_blank\">Chips1234<\/a><\/p>\n<h2>Cheers!<\/h2>\n<p>Full documentation of all of our features can be found on our <a href=\"https:\/\/aka.ms\/terminal-docs\" rel=\"noopener\" target=\"_blank\">docs site<\/a>. If you have any questions or feedback, feel free to reach out to Kayla (<a href=\"https:\/\/twitter.com\/cinnamon_msft\" rel=\"noopener\" target=\"_blank\">@cinnamon_msft<\/a>) on Twitter. If you find any bugs or have any feature requests, feel free to file an issue on <a href=\"https:\/\/github.com\/microsoft\/terminal\" rel=\"noopener\" target=\"_blank\">GitHub<\/a>. We hope you enjoy this release of Windows Terminal and Windows Terminal Preview!<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2021\/01\/08-2020-signatures.png\"><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2021\/01\/08-2020-signatures.png\" alt=\"Image 08 2020 signatures\" width=\"2006\" height=\"259\" class=\"alignnone size-full wp-image-6435\" srcset=\"https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2021\/01\/08-2020-signatures.png 2006w, https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2021\/01\/08-2020-signatures-300x39.png 300w, https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2021\/01\/08-2020-signatures-1024x132.png 1024w, https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2021\/01\/08-2020-signatures-768x99.png 768w, https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2021\/01\/08-2020-signatures-1536x198.png 1536w\" sizes=\"(max-width: 2006px) 100vw, 2006px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Welcome back to another release of Windows Terminal! This release migrates Windows Terminal to version 1.6, which includes all of the features from this previous blog post except for the settings UI. Windows Terminal Preview will move to version 1.7, which includes all of the features described below. You can install both Windows Terminal and [&hellip;]<\/p>\n","protected":false},"author":3539,"featured_media":6505,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[10,1,2,1535,5,6,1577,8,9,782],"tags":[22,27,29,31,48,59,69,70,1576,72],"class_list":["post-6501","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cmd","category-commandline","category-command-line","category-open-source","category-windows-10","category-windows-console","category-windows-package-manager","category-windows-store","category-bash-on-ubuntu-on-windows","category-windows-terminal","tag-bash","tag-cmd","tag-command-line","tag-console","tag-powershell","tag-terminal","tag-windows","tag-windows-10","tag-windows-package-manager","tag-wsl"],"acf":[],"blog_post_summary":"<p>Welcome back to another release of Windows Terminal! This release migrates Windows Terminal to version 1.6, which includes all of the features from this previous blog post except for the settings UI. Windows Terminal Preview will move to version 1.7, which includes all of the features described below. You can install both Windows Terminal and [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/commandline\/wp-json\/wp\/v2\/posts\/6501","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/commandline\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/commandline\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/commandline\/wp-json\/wp\/v2\/users\/3539"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/commandline\/wp-json\/wp\/v2\/comments?post=6501"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/commandline\/wp-json\/wp\/v2\/posts\/6501\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/commandline\/wp-json\/wp\/v2\/media\/6505"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/commandline\/wp-json\/wp\/v2\/media?parent=6501"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/commandline\/wp-json\/wp\/v2\/categories?post=6501"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/commandline\/wp-json\/wp\/v2\/tags?post=6501"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}