Guest Christopher Nguyen Posted January 25, 2023 Posted January 25, 2023 The Windows Terminal team is back with our first release of the year! 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 by using winget. Here’s what’s new in Windows Terminal Preview 1.17: [HEADING=1]Dropdown Menu Customization[/HEADING] Windows Terminal now supports dropdown menu customization! Shoutout to @fwest98 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 [iCODE]settings.json[/iCODE] file. The first time you save your settings in 1.17, we’ll convert your existing menu to the new format. This is lossless! Here’s an example of how I customized my dropdown menu! 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 [iCODE]My VS Profiles[/iCODE] to keep things tidy. [HEADING=2]JSON[/HEADING] "profiles": { "list": [ { "guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}", "hidden": false, "name": "Command Prompt" }, { "guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}", "hidden": false, "name": "Windows PowerShell" }, { "guid": "{b16adc35-bf43-5693-b902-a45c96cb4735}", "hidden": false, "name": "Developer Command Prompt for VS 2022", "source": "Windows.Terminal.VisualStudio" }, { "guid": "{3f518484-8030-5878-852d-8c9f0c8dd93e}", "hidden": false, "name": "Developer PowerShell for VS 2022", "source": "Windows.Terminal.VisualStudio" } ] }, "newTabMenu": [ { "type":"profile", "profile": "Command Prompt" }, { "type":"profile", "profile": "Windows PowerShell" }, { "type":"separator"}, { "type":"folder", "name": "My VS Profiles", "icon": "", "entries":[ { "type":"profile", "profile": "Developer Command Prompt for VS 2022" }, { "type":"profile", "profile": "Developer PowerShell for VS 2022" } ] }, ] And here is the result! [HEADING=1]Process Restart[/HEADING] After a process has been terminated, you can press Ctrl+D to close its pane or Enter to relaunch it. If we can determine your working directory, we’ll also try to preserve it after you restart the process. [HEADING=1]Mica Support[/HEADING] Windows Terminal now supports using Mica as a background material on Windows 11. Mica 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 here. Mica support can be enabled in your [iCODE]settings.json[/iCODE] file by setting [iCODE]useMica[/iCODE] to [iCODE]true[/iCODE] in your [iCODE]theme[/iCODE] settings. Note that this is just a [iCODE]theme.window[/iCODE] property. Let’s try this out! Here is a Terminal without Mica applied. Let’s try Mica out by creating a new theme called [iCODE]myNewTheme[/iCODE] (I know, I’m creative ) in our [iCODE]settings.json[/iCODE] and setting [iCODE]useMica[/iCODE] to [iCODE]true[/iCODE]. Tip: For the best visual results, set [iCODE]unfocusedBackground[/iCODE] to [iCODE]#00000000[/iCODE] in [iCODE]tab[/iCODE] and [iCODE]tabRow[/iCODE]. [HEADING=2]JSON[/HEADING] "theme": "myNewTheme", "themes": [ { "name": "myNewTheme", "tab": { "unfocusedBackground": "#00000000" }, "tabRow": { "background": "#00000000", "unfocusedBackground": "#00000000" }, "window": { "applicationTheme": "dark", "useMica": true } } ] Voila! Here is our Terminal with Mica! It’s definitely a big (yet subtle) change. [HEADING=1]Launch Position Params[/HEADING] You can now configure all of the launch position parameters in the Startup section of the Settings UI. [HEADING=1]Color Schemes Page updates[/HEADING] Our Color Schemes page has been revamped yet again for a more intuitive user flow thanks to your feedback! Now, clicking on a color scheme in the list view and adding a new scheme will immediately take you to the edit scheme page. The “Delete” and “Set as Default” buttons have also been moved to the edit scheme page. [HEADING=2]New Design on Windows Terminal 1.17 Preview[/HEADING] [HEADING=2]Old Design on Windows Terminal 1.15 Stable[/HEADING] Also, when configuring a profile’s color scheme, you will now see a tiny preview of that color scheme before you select it. [HEADING=2]Other Color Scheme Improvements[/HEADING] You can now configure a color scheme (per profile) to apply in System Light theme and System Dark theme You can now configure a color scheme (per profile) to apply in Application theme [HEADING=1]Virtual Terminal (VT) and Output[/HEADING] HUGE shoutout to @j4james 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: Added support for [iCODE]DEC[/iCODE] macro operations Added support for [iCODE]DECARM[/iCODE] (Auto Repeat Mode) Added support for [iCODE]IRM[/iCODE] (Insert Replace Mode) Added support for private options in [iCODE]DSR[/iCODE] queries Added support for selective erase operations ([iCODE]DECSED[/iCODE]) Added support for the [iCODE]DECRQM[/iCODE] escape sequence Added support for the rectangular area operations ([iCODE]DEC*RA[/iCODE]) Merged the legacy and extended attributes Rewrote how we handled text embedded in a stream of VT, which closed 8 bugs! Added support for line rendition attributes ([iCODE]DECDHL[/iCODE]) over ConPTY Added support for soft fonts over ([iCODE]DECDLD[/iCODE]) ConPTY as well Wide characters will no longer cause weird cursor leavings VT reports once again work when [iCODE]DECARM[/iCODE] is disabled Thanks again for all your help, James! [HEADING=1]Usability Updates[/HEADING] wt now supports the [iCODE]--pos[/iCODE] and [iCODE]--size[/iCODE] commandline arguments to control the position and size of the new window (thanks @ianjoneill!) When you duplicate a tab, the new tab will open next to the current tab (thanks @vamsiikrishnaak!) You can now use [iCODE]exe[/iCODE] and [iCODE]dll[/iCODE] resources for icon paths [HEADING=1]Accessibility Improvements[/HEADING] We’ve removed a leading cause of crashes closing panes and tabs while screen reading was active Our internal management window will no longer appear as an empty pane to screen readers [HEADING=1]Miscellaneous Improvements[/HEADING] Windows Terminal now supports remaining FinalTerm mark types (command input start, command executed, and command finished) You can now set the scroll bar to be [iCODE]always[/iCODE] displayed in [iCODE]$profile.scrollbarState[/iCODE] 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 [HEADING=1]Bug Fixes[/HEADING] The Export and Find context menu items work on unfocused tabs (thanks @ianjoneill!) We’ve retooled how we launch Terminal elevated when you use an elevate: true profile (or Ctrl+Shift-click a profile in the dropdown menu.) (thanks @jboelter!) The about dialog (and other dialogs) will finally block the entire window even if you resize it We now attempt to account for transparent tab backgrounds when calculating the text foreground color You can now drag/drop more than 16 items directly out of 7-Zip (and some other applications) (thanks @jiejasonliu!) Malformed settings objects will no longer cause an “Application error 0x%” settings warning “Use Acrylic in Tab Row” no longer requires a relaunch Split pane borders no longer display in the wrong theme color In separate titlebar mode, Terminal will now default to a dark title bar when you are using a dark theme The “Add Appearance” button will now be read out properly by screen readers [HEADING=1]Top contributors[/HEADING] 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! [HEADING=2]Contributors who opened the most non-duplicate issues[/HEADING] j4james brupelo Shubham786786 [HEADING=2]Contributors who created the most merged pull requests[/HEADING] AtariDreams j4james @ianjoneill! [HEADING=2]Contributors who provided the most comments on pull requests[/HEADING] j4james mrange KalleOlaviNiemitalo I would also like to give additional recognition to @musvaage, @sashashura, @grammar-police, @d-caldasCaridad, and @jsoref for their help on documentation, code health, grammar, spelling, workflow security and maintenance! [HEADING=1]Mahalo![/HEADING] 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. Happy New Year everyone! P.S. “Mahalo” means “Thank you” in Hawaiian The post Windows Terminal Preview 1.17 Release appeared first on Windows Command Line. Continue reading... Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.