{"id":5937,"date":"2020-07-22T09:15:36","date_gmt":"2020-07-22T16:15:36","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/commandline\/?p=5937"},"modified":"2020-07-29T20:36:00","modified_gmt":"2020-07-30T03:36:00","slug":"windows-terminal-preview-1-2-release","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/commandline\/windows-terminal-preview-1-2-release\/","title":{"rendered":"Windows Terminal Preview 1.2 Release"},"content":{"rendered":"<p>Welcome to another release of Windows Terminal! This release promotes the <a href=\"https:\/\/devblogs.microsoft.com\/commandline\/windows-terminal-preview-1-1-release\/\" rel=\"noopener noreferrer\" target=\"_blank\">Windows Terminal Preview version 1.1<\/a> into <a href=\"https:\/\/aka.ms\/terminal\" rel=\"noopener noreferrer\" target=\"_blank\">Windows Terminal<\/a>.<\/p>\n<p><a href=\"https:\/\/aka.ms\/terminal-preview\" rel=\"noopener noreferrer\" target=\"_blank\">Windows Terminal Preview<\/a> has new features for version 1.2 which will appear in Windows Terminal in August. You can download Windows Terminal Preview and Windows Terminal from the <a href=\"https:\/\/aka.ms\/terminal-preview\" rel=\"noopener noreferrer\" target=\"_blank\">Microsoft Store<\/a> or from the <a href=\"https:\/\/github.com\/microsoft\/terminal\/releases\" rel=\"noopener noreferrer\" target=\"_blank\">GitHub releases page<\/a>. Let&#8217;s dive into what&#8217;s new!<\/p>\n<h2>Focus mode<\/h2>\n<p>There is a new feature called focus mode that hides the tabs and title bar. This mode will only display the terminal content. To enable focus mode, you can add a key binding for <code>toggleFocusMode<\/code> in your settings.json file.<\/p>\n<p><em>This command is not bound by default.<\/em><\/p>\n<pre><code>{  \"command\": \"toggleFocusMode\", \"keys\": \"shift+f11\" }\n<\/code><\/pre>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2020\/07\/focus-mode.png\"><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2020\/07\/focus-mode.png\" alt=\"Image focus mode\" width=\"1924\" height=\"1098\" class=\"alignnone size-full wp-image-5938\" srcset=\"https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2020\/07\/focus-mode.png 1924w, https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2020\/07\/focus-mode-300x171.png 300w, https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2020\/07\/focus-mode-1024x584.png 1024w, https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2020\/07\/focus-mode-768x438.png 768w, https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2020\/07\/focus-mode-1536x877.png 1536w\" sizes=\"(max-width: 1924px) 100vw, 1924px\" \/><\/a><\/p>\n<h2>Always on top mode<\/h2>\n<p>In addition to focus mode, you can enable Windows Terminal Preview to always be the topmost window. This can be done with the <code>alwaysOnTop<\/code> global setting as well as a key binding using the <code>toggleAlwaysOnTop<\/code> command.<\/p>\n<p><em>These are not bound by default.<\/em><\/p>\n<pre><code>\/\/ Global setting\n\"alwaysOnTop\": true\n\n\/\/ Key binding\n{ \"command\": \"toggleAlwaysOnTop\", \"keys\": \"alt+shift+tab\" }\n<\/code><\/pre>\n<h2>New commands<\/h2>\n<p>New key binding commands have been added to give you more flexibility when interacting with your terminal.<\/p>\n<h4>Set tab color<\/h4>\n<p>You can set the color of your focused tab with the <code>setTabColor<\/code> command. This command uses the <code>color<\/code> property to define which color you&#8217;d like, which accepts a color in hex format, i.e. #rgb or #rrggbb.<\/p>\n<p><em>This command is not bound by default.<\/em><\/p>\n<pre><code>{ \"command\": { \"action\": \"setTabColor\", \"color\": \"#ffffff\" }, \"keys\": \"ctrl+a\" }\n<\/code><\/pre>\n<h4>Open tab color picker<\/h4>\n<p>A new command has been added that allows you to open the tab color picker menu. This can be done with the <code>openTabColorPicker<\/code> command. If you want to color a tab with your mouse, you can right click on the tab to access the color picker.<\/p>\n<p><em>This command is not bound by default.<\/em><\/p>\n<pre><code>{ \"command\": \"openTabColorPicker\", \"keys\": \"ctrl+b\" }\n<\/code><\/pre>\n<h4>Rename tab<\/h4>\n<p>You can rename the focused tab with the <code>renameTab<\/code> command (thanks <a href=\"https:\/\/github.com\/ggadget6\" rel=\"noopener noreferrer\" target=\"_blank\">ggadget6<\/a>!). You can also right click or double click on the tab to rename it.<\/p>\n<p><em>This command is not bound by default.<\/em><\/p>\n<pre><code>{ \"command\": { \"action\": \"renameTab\", \"title\": \"Foo\" }, \"keys\": \"ctrl+c\" }\n<\/code><\/pre>\n<h4>Toggle retro terminal effects<\/h4>\n<p>You can toggle the retro terminal effects that add scanlines and a glow to the text with the <code>toggleRetroEffect<\/code> command. This enables the <code>experimental.retroTerminalEffect<\/code> profile setting.<\/p>\n<p><em>This command is not bound by default.<\/em><\/p>\n<pre><code>{ \"command\": \"toggleRetroEffect\", \"keys\": \"ctrl+d\" }\n<\/code><\/pre>\n<h2>Cascadia Code font weights<\/h2>\n<p><a href=\"https:\/\/github.com\/microsoft\/cascadia-code\" rel=\"noopener noreferrer\" target=\"_blank\">Cascadia Code<\/a> now has font weights! You can enable these font weights in Windows Terminal Preview by using the <a href=\"https:\/\/docs.microsoft.com\/windows\/terminal\/customize-settings\/profile-settings#text-settings\" rel=\"noopener noreferrer\" target=\"_blank\"><code>fontWeight<\/code> profile setting<\/a>. A huge shoutout goes to our font designer <a href=\"https:\/\/twitter.com\/aaronbell\" rel=\"noopener noreferrer\" target=\"_blank\">Aaron Bell<\/a> for making this happen!<\/p>\n<pre><code>\"fontWeight\": \"light\"\n<\/code><\/pre>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2020\/07\/cascadia-font-weight.png\"><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2020\/07\/cascadia-font-weight.png\" alt=\"Image cascadia font weight\" width=\"1017\" height=\"141\" class=\"alignnone size-full wp-image-5940\" srcset=\"https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2020\/07\/cascadia-font-weight.png 1017w, https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2020\/07\/cascadia-font-weight-300x42.png 300w, https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2020\/07\/cascadia-font-weight-768x106.png 768w\" sizes=\"(max-width: 1017px) 100vw, 1017px\" \/><\/a><\/p>\n<h2>Command palette update<\/h2>\n<p>The command palette is almost complete! We are currently ironing out a few more bugs, but if you&#8217;d like to play with it, you can add the <code>commandPalette<\/code> command to your key bindings and invoke it using your keyboard. If you find any bugs, please file them on the <a href=\"https:\/\/github.com\/microsoft\/terminal\" rel=\"noopener noreferrer\" target=\"_blank\">GitHub repo<\/a>!<\/p>\n<p><em>This command is not bound by default.<\/em><\/p>\n<pre><code>{ \"command\": \"commandPalette\", \"keys\": \"ctrl+shift+p\" }\n<\/code><\/pre>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2020\/07\/command-palette.gif\"><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2020\/07\/command-palette.gif\" alt=\"Image command palette\" width=\"1726\" height=\"945\" class=\"alignnone size-full wp-image-5941\" \/><\/a><\/p>\n<h2>Settings UI design<\/h2>\n<p>We have been actively working on the settings UI and have narrowed down on a design. The design is pictured below and the spec can be found <a href=\"https:\/\/github.com\/microsoft\/terminal\/pull\/6720\" rel=\"noopener noreferrer\" target=\"_blank\">here<\/a>. We appreciate all feedback and we&#8217;ll be starting implementation very soon!<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2020\/07\/navigation-2.png\"><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2020\/07\/navigation-2.png\" alt=\"Image navigation 2\" width=\"1130\" height=\"821\" class=\"alignnone size-full wp-image-5945\" srcset=\"https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2020\/07\/navigation-2.png 1130w, https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2020\/07\/navigation-2-300x218.png 300w, https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2020\/07\/navigation-2-1024x744.png 1024w, https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2020\/07\/navigation-2-768x558.png 768w\" sizes=\"(max-width: 1130px) 100vw, 1130px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2020\/07\/appearance.png\"><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2020\/07\/appearance.png\" alt=\"Image appearance\" width=\"1130\" height=\"821\" class=\"alignnone size-full wp-image-5946\" srcset=\"https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2020\/07\/appearance.png 1130w, https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2020\/07\/appearance-300x218.png 300w, https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2020\/07\/appearance-1024x744.png 1024w, https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2020\/07\/appearance-768x558.png 768w\" sizes=\"(max-width: 1130px) 100vw, 1130px\" \/><\/a><\/p>\n<h2>Miscellaneous<\/h2>\n<p>\u2b50 You can now use <code>nt<\/code>, <code>sp<\/code>, and <code>ft<\/code> as command line arguments for new tab, split pane, and focus tab, respectively.<\/p>\n<p>\u2b50 We now have proper logos for high contrast mode (thanks <a href=\"https:\/\/github.com\/jtippet\" rel=\"noopener noreferrer\" target=\"_blank\">jtippet<\/a>!).<\/p>\n<p>\u2b50 There are now warnings for pasting large amounts of text and text with multiple lines. More information on disabling these warnings can be found on the <a href=\"https:\/\/docs.microsoft.com\/windows\/terminal\/customize-settings\/global-settings#paste-warnings\" rel=\"noopener noreferrer\" target=\"_blank\">global settings docs page<\/a> (thanks <a href=\"https:\/\/github.com\/greg904\" rel=\"noopener noreferrer\" target=\"_blank\">greg904<\/a>!).<\/p>\n<h2>Bug fixes<\/h2>\n<p>\ud83d\udc1b You can now run <code>wt<\/code> as an Administrator from the Run dialog with <kbd>Ctrl+Shift+Enter<\/kbd>.<\/p>\n<p>\ud83d\udc1b Printing large amounts of text in WSL is 20% faster!<\/p>\n<p>\ud83d\udc1b The terminal will no longer scroll to the bottom when there is output if you are scrolled up or have a selection.<\/p>\n<p>\ud83d\udc1b The pseudoconsole will now forward colors and styles emitted by applications with higher fidelity, thus greatly improving color representation (thanks <a href=\"https:\/\/github.com\/j4james\" rel=\"noopener noreferrer\" target=\"_blank\">j4james<\/a>!).<\/p>\n<p>\ud83d\udc49 <strong>Note:<\/strong> If you&#8217;re seeing unexpected black bars when you use PowerShell, visit the <a href=\"https:\/\/docs.microsoft.com\/windows\/terminal\/troubleshooting#my-colors-look-strange-there-are-black-bars-on-my-screen\" rel=\"noopener noreferrer\" target=\"_blank\">troubleshooting page<\/a> on our docs site.<\/p>\n<h2>Top contributors<\/h2>\n<p>We had a ton of great contributions this month and we would like to recognize those who have made an impact!<\/p>\n<h2>Contributors who opened the most non-duplicate issues<\/h2>\n<p>\ud83c\udfc6 <a href=\"https:\/\/github.com\/j4james\" rel=\"noopener noreferrer\" target=\"_blank\">j4james<\/a><\/p>\n<p>\ud83c\udfc6 <a href=\"https:\/\/github.com\/trajano\" rel=\"noopener noreferrer\" target=\"_blank\">trajano<\/a><\/p>\n<p>\ud83c\udfc6 <a href=\"https:\/\/github.com\/musm\" rel=\"noopener noreferrer\" target=\"_blank\">musm<\/a><\/p>\n<p>\ud83c\udfc6 <a href=\"https:\/\/github.com\/jtippet\" rel=\"noopener noreferrer\" target=\"_blank\">jtippet<\/a><\/p>\n<h2>Contributors who created the most merged pull requests<\/h2>\n<p>\ud83c\udfc6 <a href=\"https:\/\/github.com\/j4james\" rel=\"noopener noreferrer\" target=\"_blank\">j4james<\/a><\/p>\n<p>\ud83c\udfc6 <a href=\"https:\/\/github.com\/jtippet\" rel=\"noopener noreferrer\" target=\"_blank\">jtippet<\/a><\/p>\n<p>\ud83c\udfc6 <a href=\"https:\/\/github.com\/lhecker\" rel=\"noopener noreferrer\" target=\"_blank\">lhecker<\/a><\/p>\n<h2>Contributors who provided the most comments on pull requests<\/h2>\n<p>\ud83c\udfc6 <a href=\"https:\/\/github.com\/greg904\" rel=\"noopener noreferrer\" target=\"_blank\">greg904<\/a><\/p>\n<p>\ud83c\udfc6 <a href=\"https:\/\/github.com\/anuthadev\" rel=\"noopener noreferrer\" target=\"_blank\">AnuthaDev<\/a><\/p>\n<p>\ud83c\udfc6 <a href=\"https:\/\/github.com\/lhecker\" rel=\"noopener noreferrer\" target=\"_blank\">lhecker<\/a><\/p>\n<h2>Until next time<\/h2>\n<p>For full documentation on all Windows Terminal settings, you can visit our <a href=\"https:\/\/aka.ms\/terminal-docs\" rel=\"noopener noreferrer\" 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 noreferrer\" target=\"_blank\">@cinnamon_msft<\/a>) on Twitter. For any bug reports or feature requests, please file an issue on <a href=\"https:\/\/github.com\/microsoft\/terminal\" rel=\"noopener noreferrer\" target=\"_blank\">GitHub<\/a>. We hope you like our latest updates and we&#8217;ll see you at the next one!<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2019\/11\/1911teamsignatures.png\"><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2019\/11\/1911teamsignatures.png\" alt=\"\" width=\"2077\" height=\"316\" class=\"alignnone size-full wp-image-5250\" srcset=\"https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2019\/11\/1911teamsignatures.png 2077w, https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2019\/11\/1911teamsignatures-300x46.png 300w, https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2019\/11\/1911teamsignatures-768x117.png 768w, https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2019\/11\/1911teamsignatures-1024x156.png 1024w\" sizes=\"(max-width: 2077px) 100vw, 2077px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Welcome to another release of Windows Terminal! This release promotes the Windows Terminal Preview version 1.1 into Windows Terminal. Windows Terminal Preview has new features for version 1.2 which will appear in Windows Terminal in August. You can download Windows Terminal Preview and Windows Terminal from the Microsoft Store or from the GitHub releases page. [&hellip;]<\/p>\n","protected":false},"author":3539,"featured_media":5938,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1,2,3,4,5,6,8,9,782],"tags":[22,27,29,31,42,45,48,59,70,72],"class_list":["post-5937","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-commandline","category-command-line","category-linux-tools","category-ms-dos","category-windows-10","category-windows-console","category-windows-store","category-bash-on-ubuntu-on-windows","category-windows-terminal","tag-bash","tag-cmd","tag-command-line","tag-console","tag-linux","tag-ms-dos","tag-powershell","tag-terminal","tag-windows-10","tag-wsl"],"acf":[],"blog_post_summary":"<p>Welcome to another release of Windows Terminal! This release promotes the Windows Terminal Preview version 1.1 into Windows Terminal. Windows Terminal Preview has new features for version 1.2 which will appear in Windows Terminal in August. You can download Windows Terminal Preview and Windows Terminal from the Microsoft Store or from the GitHub releases page. [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/commandline\/wp-json\/wp\/v2\/posts\/5937","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=5937"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/commandline\/wp-json\/wp\/v2\/posts\/5937\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/commandline\/wp-json\/wp\/v2\/media\/5938"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/commandline\/wp-json\/wp\/v2\/media?parent=5937"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/commandline\/wp-json\/wp\/v2\/categories?post=5937"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/commandline\/wp-json\/wp\/v2\/tags?post=5937"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}