{"id":8258,"date":"2023-01-24T19:40:36","date_gmt":"2023-01-25T03:40:36","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/commandline\/?p=8258"},"modified":"2023-01-25T17:02:15","modified_gmt":"2023-01-26T01:02:15","slug":"windows-terminal-preview-1-17-release","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/commandline\/windows-terminal-preview-1-17-release\/","title":{"rendered":"Windows Terminal Preview 1.17 Release"},"content":{"rendered":"<p>The Windows Terminal team is back with our first release of the year! \ud83c\udf89<br \/>\nThis release introduces version 1.17 to Windows Terminal Preview and updates Windows Terminal to version 1.16 with <a href=\"https:\/\/devblogs.microsoft.com\/commandline\/windows-terminal-preview-1-16-release\/\" rel=\"noopener\" target=\"_blank\">these new features<\/a>. As always, you can install <a href=\"https:\/\/aka.ms\/terminal\" rel=\"noopener\" target=\"_blank\">Windows Terminal<\/a> and <a href=\"https:\/\/aka.ms\/terminal-preview\" rel=\"noopener\" target=\"_blank\">Windows Terminal Preview<\/a> from the Microsoft Store, from the <a href=\"https:\/\/github.com\/microsoft\/terminal\/releases\" rel=\"noopener\" target=\"_blank\">GitHub releases page<\/a>, or by using winget.<br \/>\nHere&#8217;s what&#8217;s new in Windows Terminal Preview 1.17:<\/p>\n<h2>Dropdown Menu Customization<\/h2>\n<p>Windows Terminal now supports dropdown menu customization! Shoutout to <a href=\"https:\/\/github.com\/fwest98\" rel=\"noopener\" target=\"_blank\">@fwest98<\/a> for this feature! This feature includes support for adding folders, adding separators, and adding profiles. You can now arrange the dropdown menu to your liking! This is especially useful for organizing your Profiles. For now, this can be done in your <code>settings.json<\/code> file. The first time you save your settings in 1.17, we&#8217;ll convert your existing menu to the new format. This is lossless!<\/p>\n<p>Here&#8217;s an example of how I customized my dropdown menu!<\/p>\n<p>I have four Profiles (Windows PowerShell, Command Prompt, Developer Command Prompt for VS 2022, Developer PowerShell for VS 2022). I made my Command Prompt profile appear at the top of my dropdown menu, followed by my Windows PowerShell profile. After that, I added a separator and put all my VS 2022 profiles all under one folder called <code>My VS Profiles<\/code> to keep things tidy.<\/p>\n<h3>JSON<\/h3>\n<pre><code>    \"profiles\": \n    {\n        \"list\": \n        [\n            {\n                \"guid\": \"{0caa0dad-35be-5f56-a8ff-afceeeaa6101}\",\n                \"hidden\": false,\n                \"name\": \"Command Prompt\"\n            },\n            {\n                \"guid\": \"{61c54bbd-c2c6-5271-96e7-009a87ff44bf}\",\n                \"hidden\": false,\n                \"name\": \"Windows PowerShell\"\n            },\n            {\n                \"guid\": \"{b16adc35-bf43-5693-b902-a45c96cb4735}\",\n                \"hidden\": false,\n                \"name\": \"Developer Command Prompt for VS 2022\",\n                \"source\": \"Windows.Terminal.VisualStudio\"\n            },\n            {\n                \"guid\": \"{3f518484-8030-5878-852d-8c9f0c8dd93e}\",\n                \"hidden\": false,\n                \"name\": \"Developer PowerShell for VS 2022\",\n                \"source\": \"Windows.Terminal.VisualStudio\"\n            }\n        ]\n    },\n\n    \"newTabMenu\": [\n        { \"type\":\"profile\", \"profile\": \"Command Prompt\" },\n        { \"type\":\"profile\", \"profile\": \"Windows PowerShell\" },\n    { \"type\":\"separator\"},\n        {\n            \"type\":\"folder\",\n            \"name\": \"My VS Profiles\",\n            \"icon\": \"\",\n            \"entries\":[\n                { \"type\":\"profile\", \"profile\": \"Developer Command Prompt for VS 2022\" },\n                { \"type\":\"profile\", \"profile\": \"Developer PowerShell for VS 2022\" }\n            ]\n        },\n    ]\n<\/code><\/pre>\n<p>And here is the result!<br \/>\n<a href=\"https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2023\/01\/Dropdown.png\"><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2023\/01\/Dropdown.png\" alt=\"Dropdown Menu Customization\" width=\"1344\" height=\"897\" class=\"alignnone size-full wp-image-8279\" \/><\/a><\/p>\n<h2>Process Restart<\/h2>\n<p>After a process has been terminated, you can press <kbd>Ctrl+D<\/kbd> to close its pane or <kbd>Enter<\/kbd> to relaunch it.<br \/>\nIf we can determine your working directory, we&#8217;ll also try to preserve it after you restart the process. <a href=\"https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2023\/01\/ProcessRestart.png\"><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2023\/01\/ProcessRestart.png\" alt=\"Process Restart\" width=\"1344\" height=\"897\" class=\"alignnone size-full wp-image-8283\" \/><\/a><\/p>\n<h2>Mica Support<\/h2>\n<p>Windows Terminal now supports using Mica as a background material on Windows 11.<br \/>\nMica is an opaque, dynamic material that incorporates the theme and desktop wallpaper to create a highly personalized appearance. Mica is also designed for performance as it only captures the background wallpaper once to create its visualizations. You can read more about the Mica material <a href=\"https:\/\/learn.microsoft.com\/en-us\/windows\/apps\/design\/style\/mica\" rel=\"noopener\" target=\"_blank\">here<\/a>.<\/p>\n<p>Mica support can be enabled in your <code>settings.json<\/code> file by setting <code>useMica<\/code> to <code>true<\/code> in your <code>theme<\/code> settings. Note that this is just a <code>theme.window<\/code> property. Let&#8217;s try this out!<br \/>\nHere is a Terminal without Mica applied. <a href=\"https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2023\/01\/PreMica.png\"><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2023\/01\/PreMica.png\" alt=\"Windows Terminal without Mica applied\" width=\"1344\" height=\"897\" class=\"alignnone size-full wp-image-8269\" \/><\/a> Let&#8217;s try Mica out by creating a new theme called <code>myNewTheme<\/code> (I know, I&#8217;m creative \ud83d\ude0f) in our <code>settings.json<\/code> and setting <code>useMica<\/code> to <code>true<\/code>.<br \/>\n\ud83d\udc49 Tip: For the best visual results, set <code>unfocusedBackground<\/code> to <code>#00000000<\/code> in <code>tab<\/code> and <code>tabRow<\/code>.<\/p>\n<h3>JSON<\/h3>\n<pre><code>\"theme\": \"myNewTheme\",\n    \"themes\": \n    [\n        {\n            \"name\": \"myNewTheme\",\n            \"tab\": \n            {\n                \"unfocusedBackground\": \"#00000000\"\n            },\n            \"tabRow\": \n            {\n                \"background\": \"#00000000\",\n                \"unfocusedBackground\": \"#00000000\"\n            },\n            \"window\": \n            {\n                \"applicationTheme\": \"dark\",\n                \"useMica\": true\n            }\n        }\n    ]\n<\/code><\/pre>\n<p>Voila! Here is our Terminal with Mica! It&#8217;s definitely a big (yet subtle) change. <a href=\"https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2023\/01\/PostMica.png\"><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2023\/01\/PostMica.png\" alt=\"Windows Terminal with Mica applied.\" width=\"1344\" height=\"897\" class=\"alignnone size-full wp-image-8268\" \/><\/a><\/p>\n<h2>Launch Position Params<\/h2>\n<p>You can now configure all of the launch position parameters in the Startup section of the Settings UI. <a href=\"https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2023\/01\/LaunchPositionParams-1.png\"><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2023\/01\/LaunchPositionParams-1.png\" alt=\"Updated Launch position parameters\" width=\"1344\" height=\"897\" class=\"alignnone size-full wp-image-8301\" \/><\/a><\/p>\n<h2>Color Schemes Page updates<\/h2>\n<p>Our Color Schemes page has been revamped yet again for a more intuitive user flow thanks to your feedback! \ud83c\udfa8<br \/>\nNow, clicking on a color scheme in the list view and adding a new scheme will immediately take you to the edit scheme page. The &#8220;Delete&#8221; and &#8220;Set as Default&#8221; buttons have also been moved to the edit scheme page.<\/p>\n<h3>New Design on Windows Terminal 1.17 Preview<\/h3>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2023\/01\/117ColorSchemes.png\"><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2023\/01\/117ColorSchemes.png\" alt=\"New Color Schemes page\" width=\"1344\" height=\"897\" class=\"alignnone size-full wp-image-8271\" \/><\/a><\/p>\n<h3>Old Design on Windows Terminal 1.15 Stable<\/h3>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2023\/01\/115ColorSchemes.png\"><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2023\/01\/115ColorSchemes.png\" alt=\"Old Color Schemes page\" width=\"1344\" height=\"897\" class=\"alignnone size-full wp-image-8270\" \/><\/a><\/p>\n<p>Also, when configuring a profile&#8217;s color scheme, you will now see a tiny preview of that color scheme before you select it. <a href=\"https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2023\/01\/PinkVenom-1.png\"><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2023\/01\/PinkVenom-1.png\" alt=\"Color Schemes preview in Appearance\" width=\"1017\" height=\"316\" class=\"alignnone size-full wp-image-8308\" srcset=\"https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2023\/01\/PinkVenom-1.png 1017w, https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2023\/01\/PinkVenom-1-300x93.png 300w, https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2023\/01\/PinkVenom-1-768x239.png 768w\" sizes=\"(max-width: 1017px) 100vw, 1017px\" \/><\/a><\/p>\n<h3>Other Color Scheme Improvements<\/h3>\n<p>\ud83d\udee0\ufe0f You can now configure a color scheme (per profile) to apply in System Light theme and System Dark theme<\/p>\n<p>\ud83d\udee0\ufe0f You can now configure a color scheme (per profile) to apply in Application theme<\/p>\n<h2>Virtual Terminal (VT) and Output<\/h2>\n<p>HUGE shoutout to <a href=\"https:\/\/github.com\/j4james\" rel=\"noopener\" target=\"_blank\">@j4james<\/a> for his amazing contributions in the VT space. James worked tirelessly to improve support for VT features, including rewriting how text output is processed in Windows Terminal. Here is a brief summary of the VT contributions that James made for this release:<\/p>\n<p>\ud83c\udf1f Added support for <code>DEC<\/code> macro operations<\/p>\n<p>\ud83c\udf1f Added support for <code>DECARM<\/code> (Auto Repeat Mode)<\/p>\n<p>\ud83c\udf1f Added support for <code>IRM<\/code> (Insert Replace Mode)<\/p>\n<p>\ud83c\udf1f Added support for private options in <code>DSR<\/code> queries<\/p>\n<p>\ud83c\udf1f Added support for selective erase operations (<code>DECSED<\/code>)<\/p>\n<p>\ud83c\udf1f Added support for the <code>DECRQM<\/code> escape sequence<\/p>\n<p>\ud83c\udf1f Added support for the rectangular area operations (<code>DEC*RA<\/code>)<\/p>\n<p>\ud83c\udf1f Merged the legacy and extended attributes<\/p>\n<p>\ud83c\udf1f Rewrote how we handled text embedded in a stream of VT, which closed 8 bugs!<\/p>\n<p>\ud83c\udf1f Added support for line rendition attributes (<code>DECDHL<\/code>) over ConPTY<\/p>\n<p>\ud83c\udf1f Added support for soft fonts over (<code>DECDLD<\/code>) ConPTY as well<\/p>\n<p>\ud83c\udf1f Wide characters will no longer cause weird cursor leavings<\/p>\n<p>\ud83c\udf1f VT reports once again work when <code>DECARM<\/code> is disabled<\/p>\n<p>Thanks again for all your help, James! \ud83e\udd73<\/p>\n<h2>Usability Updates<\/h2>\n<p>\u26a1 wt now supports the <code>--pos<\/code> and <code>--size<\/code> commandline arguments to control the position and size of the new window (thanks <a href=\"https:\/\/github.com\/ianjoneill\" rel=\"noopener\" target=\"_blank\">@ianjoneill<\/a>!)<\/p>\n<p>\u26a1 When you duplicate a tab, the new tab will open next to the current tab (thanks <a href=\"https:\/\/github.com\/vamsiikrishnaak\" rel=\"noopener\" target=\"_blank\">@vamsiikrishnaak<\/a>!)<\/p>\n<p>\u26a1 You can now use <code>exe<\/code> and <code>dll<\/code> resources for icon paths<\/p>\n<h2>Accessibility Improvements<\/h2>\n<p>\ud83d\udee0\ufe0f We&#8217;ve removed a leading cause of crashes closing panes and tabs while screen reading was active<\/p>\n<p>\ud83d\udee0\ufe0f Our internal management window will no longer appear as an empty pane to screen readers<\/p>\n<h2>Miscellaneous Improvements<\/h2>\n<p>\ud83d\udee0\ufe0f Windows Terminal now supports remaining FinalTerm mark types (command input start, command executed, and command finished)<\/p>\n<p>\ud83d\udee0\ufe0f You can now set the scroll bar to be <code>always<\/code> displayed in <code>$profile.scrollbarState<\/code><\/p>\n<p>\ud83d\udee0\ufe0f The contents of the Terminal package are now code-signed, so those of you who deploy it unzipped will no longer get in trouble with your IT folks \ud83d\ude09 \ud83d\ude09<\/p>\n<h2>Bug Fixes<\/h2>\n<p>\ud83d\udc1b The Export and Find context menu items work on unfocused tabs (thanks <a href=\"https:\/\/github.com\/ianjoneill\" rel=\"noopener\" target=\"_blank\">@ianjoneill!<\/a>)<\/p>\n<p>\ud83d\udc1b We&#8217;ve retooled how we launch Terminal elevated when you use an elevate: true profile (or <kbd>Ctrl+Shift<\/kbd>-click a profile in the dropdown menu.) (thanks <a href=\"https:\/\/github.com\/jboelter\" rel=\"noopener\" target=\"_blank\">@jboelter<\/a>!)<\/p>\n<p>\ud83d\udc1b The about dialog (and other dialogs) will finally block the entire window even if you resize it<\/p>\n<p>\ud83d\udc1b We now attempt to account for transparent tab backgrounds when calculating the text foreground color<\/p>\n<p>\ud83d\udc1b You can now drag\/drop more than 16 items directly out of 7-Zip (and some other applications) (thanks <a href=\"https:\/\/github.com\/jiejasonliu\" rel=\"noopener\" target=\"_blank\">@jiejasonliu<\/a>!)<\/p>\n<p>\ud83d\udc1b Malformed settings objects will no longer cause an &#8220;Application error 0x%&#8221; settings warning<\/p>\n<p>\ud83d\udc1b &#8220;Use Acrylic in Tab Row&#8221; no longer requires a relaunch<\/p>\n<p>\ud83d\udc1b Split pane borders no longer display in the wrong theme color<\/p>\n<p>\ud83d\udc1b In separate titlebar mode, Terminal will now default to a dark title bar when you are using a dark theme<\/p>\n<p>\ud83d\udc1b The &#8220;Add Appearance&#8221; button will now be read out properly by screen readers<\/p>\n<h2>Top contributors<\/h2>\n<p>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!<\/p>\n<h3>Contributors who opened the most non-duplicate issues<\/h3>\n<p>\ud83c\udfc6 <a href=\"https:\/\/github.com\/j4james\" rel=\"noopener\" target=\"_blank\">j4james<\/a><\/p>\n<p>\ud83c\udfc6 <a href=\"https:\/\/github.com\/brupelo\" rel=\"noopener\" target=\"_blank\">brupelo<\/a><\/p>\n<p>\ud83c\udfc6 <a href=\"https:\/\/github.com\/Shubham786786\" rel=\"noopener\" target=\"_blank\">Shubham786786<\/a><\/p>\n<h3>Contributors who created the most merged pull requests<\/h3>\n<p>\ud83c\udfc6 <a href=\"https:\/\/github.com\/AtariDreams\" rel=\"noopener\" target=\"_blank\">AtariDreams<\/a><\/p>\n<p>\ud83c\udfc6 <a href=\"https:\/\/github.com\/j4james\" rel=\"noopener\" target=\"_blank\">j4james<\/a><\/p>\n<p>\ud83c\udfc6 <a href=\"https:\/\/github.com\/ianjoneill\" rel=\"noopener\" target=\"_blank\">@ianjoneill!<\/a><\/p>\n<h3>Contributors who provided the most comments on pull requests<\/h3>\n<p>\ud83c\udfc6 <a href=\"https:\/\/github.com\/j4james\" rel=\"noopener\" target=\"_blank\">j4james<\/a><\/p>\n<p>\ud83c\udfc6 <a href=\"https:\/\/github.com\/mrange\" rel=\"noopener\" target=\"_blank\">mrange<\/a><\/p>\n<p>\ud83c\udfc6 <a href=\"https:\/\/github.com\/KalleOlaviNiemitalo\" rel=\"noopener\" target=\"_blank\">KalleOlaviNiemitalo<\/a><\/p>\n<p>I would also like to give additional recognition to <a href=\"https:\/\/github.com\/musvaage\" rel=\"noopener\" target=\"_blank\">@musvaage<\/a>, <a href=\"https:\/\/github.com\/sashashura\" rel=\"noopener\" target=\"_blank\">@sashashura<\/a>, <a href=\"https:\/\/github.com\/grammar-police\" rel=\"noopener\" target=\"_blank\">@grammar-police<\/a>, <a href=\"https:\/\/github.com\/d-caldasCaridad\" rel=\"noopener\" target=\"_blank\">@d-caldasCaridad<\/a>, and <a href=\"https:\/\/github.com\/jsoref\" rel=\"noopener\" target=\"_blank\">@jsoref<\/a> for their help on documentation, code health, grammar, spelling, workflow security and maintenance!<\/p>\n<h2>Mahalo!<\/h2>\n<p>We hope you enjoy this latest release of Windows Terminal Preview! More information on these new features can be found on our <a href=\"https:\/\/aka.ms\/terminal-docs\" rel=\"noopener\" target=\"_blank\">docs site<\/a> and if you find any bugs or have feature requests, feel free to file them on <a href=\"https:\/\/github.com\/microsoft\/terminal\" rel=\"noopener\" target=\"_blank\">GitHub<\/a>. If you have any questions you can reach out to Christopher Nguyen (<a href=\"https:\/\/twitter.com\/nguyen_dows\" rel=\"noopener\" target=\"_blank\">@nguyen_dows<\/a>) on Twitter. Happy New Year everyone!<\/p>\n<p>P.S. &#8220;Mahalo&#8221; means &#8220;Thank you&#8221; in Hawaiian \ud83d\ude42 \ud83e\udd19<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2023\/01\/Jan2023Signatures.png\"><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2023\/01\/Jan2023Signatures.png\" alt=\"January 2023 Signatures\" width=\"1801\" height=\"259\" class=\"alignnone size-full wp-image-8322\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Windows Terminal team is back with our first release of the year! \ud83c\udf89 This release introduces version 1.17 to Windows Terminal Preview and updates Windows Terminal to version 1.16 with these new features. As always, you can install Windows Terminal and Windows Terminal Preview from the Microsoft Store, from the GitHub releases page, or [&hellip;]<\/p>\n","protected":false},"author":101092,"featured_media":8279,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[10,1,2,1535,6,782],"tags":[],"class_list":["post-8258","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cmd","category-commandline","category-command-line","category-open-source","category-windows-console","category-windows-terminal"],"acf":[],"blog_post_summary":"<p>The Windows Terminal team is back with our first release of the year! \ud83c\udf89 This release introduces version 1.17 to Windows Terminal Preview and updates Windows Terminal to version 1.16 with these new features. As always, you can install Windows Terminal and Windows Terminal Preview from the Microsoft Store, from the GitHub releases page, or [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/commandline\/wp-json\/wp\/v2\/posts\/8258","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\/101092"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/commandline\/wp-json\/wp\/v2\/comments?post=8258"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/commandline\/wp-json\/wp\/v2\/posts\/8258\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/commandline\/wp-json\/wp\/v2\/media\/8279"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/commandline\/wp-json\/wp\/v2\/media?parent=8258"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/commandline\/wp-json\/wp\/v2\/categories?post=8258"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/commandline\/wp-json\/wp\/v2\/tags?post=8258"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}