Skip to content

@DHowett-MSFT DHowett-MSFT released this Oct 23, 2019 · 66 commits to master since this release

Features

  • There's now a setting for launching the Terminal in a specific initial position on your screen or to have it maximized when it starts up (#2817)
    • Set initialPosition to a string of the format x, y to force the terminal to launch in that position. Like, 100, 200.
    • The position specified is relative to your primary monitor. Negative values will be to the left of (x) or above (y) the primary monitor.
    • Set launchMode to maximized to request that Terminal start up maximized on the monitor it would have landed on based on its initialPosition
  • If you chose a color scheme that didn't exist, you got the wonderful black-on-black color scheme that was excellent for readability. Now instead, you get a warning that the settings couldn't find a valid scheme and we choose the default Campbell scheme instead so you can actually see things. (#3033)
  • Terminal now also warns you about closing many tabs when clicking the X button on the window frame, like a browser (#3049)
  • There are new keybindings, increaseFontSize and decreaseFontSize (bound by default to Ctrl+= and Ctrl+-) that help you increase and decrease the font size. (#2700)

Changes

  • We've upgraded to the latest version of WinUI, 2.2! There's a bunch of improvements in our tab bar, including... (#3027)
    • ... the ability to scroll your tabs with < and > buttons
    • ... the ability to see all of your tabs
    • ... a much more accessible color scheme
    • A KNOWN BUG where the tab bar won't expand when you make the window wider; this is being tracked by #3300.
      • (workaround: open a new tab)
  • Performance improvements
    • We now defer rendering the cursor until we know we're done printing text (#2960)
      • We got a little excited about updating the cursor and would spend most of our time drawing the cursor blinking on and off or moving through the buffer, even while we were writing more text. Now, we control ourselves and only draw the cursor when done emitting a segment of text. This improves drawing and buffering performance.
    • Things that change color in the middle of a line will now do so less slowly (#2937)
    • Runs of simple characters will no longer incur an expensive layout pass (#2959)
      • Re-instates text complexity check during text rendering to make simple/basic/ASCII text skip all analysis phases and render faster (less CPU!)
  • Characters of unknown width are now considered to be one cell wide (#2928)
    • Improves layout of all glyphs that are "ambiguous" per the Unicode standard by forcing them to be narrow, as most other Terminals do. This should improve table/box drawing.
    • If you see some emoji that have been crushed, smushed or smashed, please mention them by codepoint in #900.
    • Emoji are almost all ambiguous, so this is troublesome.

Bug Fixes

  • We'll no longer crash if you open a tab, close it, then try to draw some unexpected characters in any other tab (#2928)
    • Weird enough, this was the same fix as the "ambiguous width" one above. Your homework is figuring out why!
  • Text copied to the clipboard will, in a lot more cases, have the right number of line endings (#3239)
  • Characters like : and ' will now make their way to legacy applications in a way they can understand (#3199)
    • (some old Windows applications, or new ones that are written to target consoles that have been dead and gone for tens of years, were trying to read the scancode out of a key event. Terminal wasn't putting the right one in sometimes.)
  • correctly inform connection of resize events (#3228)
    - Fix for Visual Studio 2019 preview embedded terminal component to relay resizing events correctly.
  • Revert "Patch fix for #1360 (#2924)" (#3212)
    - See below. We tried fixing full-width characters at end-of-line and introduced a bunch of crashes, so this rolls it back to stop the crashes.
  • TermControl: force all ambiguous glyphs to be narrow (#2928)
    - Improves layout of all glyphs that are "ambiguous" per the Unicode standard by forcing them to be narrow, as most other Terminals do. This should improve table/box drawing.
  • Replace ExpandEnvironmentStrings double calling with wil helper (#3198)
    - Cleanliness fix. Turns out we don't need to jump through 12 hoops to expand environment variables because WIL has a nice helper. This makes us use it and stop the hoop jumping.
  • Defer cursor redrawing when writing the buffer (#2960)
    - We got a little excited about updating the cursor and would spend most of our time drawing the cursor blinking on and off or moving through the buffer, even while we were writing more text. Now, we control ourselves and only draw the cursor when done emitting a segment of text. This improves drawing and buffering performance.
  • You can now use font names longer than 32 characters (#3107)
    • We used to believe that font names could only be 32 characters or less because 32 characters would be enough for anyone. Now we believe that font names can be any length they choose to be.
  • Two tabs emitting output at the same time will no longer corrupt oneanother (#3110)
  • If you have a globals object in your settings file, it will no longer cause the rest of your settings to be ignored.
  • VT fixes
    • Alt+Backspace followed by Enter will no longer result in the application receiving Alt+Enter (#2823)
    • NUL will no longer show up in the buffer (#3015)
      • Some applications spend a lot of time talking about nothing. We used to listen to them and broadcast their nothingness to the world. Now we ignore them and save everyone from having to hear that. (Applications that used NUL to waste time don't have an effect of inserting space into the buffer anymore.)
    • The terminal will now know when the application wants to hide the cursor. It won't do anything about it, but it'll know. (#2829)
    • The line above, but for extended text attributes like underline, strikethrough, and italics. Remember, the Terminal won't do anything with this newfound knowledge. (#2917)
Assets 3

@DHowett-MSFT DHowett-MSFT released this Oct 4, 2019 · 135 commits to master since this release

Changes

Bug Fixes

  • The maximize/restore button will now reflect the state of the window (#3025)
  • You can once again double-click on the titlebar (#3024)
    • You always could, but sometimes it wouldn't do anything. Now it will! Bonus: it'll do what you expect.
  • Update cmd's default profile to disable acrylic (#3020)
  • VT fixes
    • CUU and CUD will not move "across" margins. (#2996)
    • When reverse indexing, we'll preserve RGB/256 attributes (#2987)
    • When an application emits a bell, terminal will hear it. You won't, but the terminal will. (#2990)
  • "Exotic" inputs like Alt+< and any other Alt+ that isn't a letter (as defined by US-ASCII) will work more reliably (#2836)
  • make filling chars (and, thus, erase line/char) unset wrap (#2831)
  • Fix a number of crashes at the WinRT boundary (including some clipboard issues!) (#2927)
  • PowerShell now has its own theme so it stops eating your background (#2936)
Assets 3

@DHowett-MSFT DHowett-MSFT released this Sep 25, 2019 · 135 commits to master since this release

Bug Fixes

  • The rightmost column of the screen will now be cleared properly for EL and (because of how the console hosting layer works,) ED + cls (#2879)
Assets 3

@DHowett-MSFT DHowett-MSFT released this Sep 24, 2019 · 142 commits to master since this release

Features

  • You’re going to find a new font on your system. Enjoy it! It’s called “Cascadia Code,” and it’s also an early version. It looks pretty good in terminals. (#2806)
  • Your settings are going to get way better from here on in.
    • WSL distributions will automatically show up in your menu, ready to use! (#2603) (#2798) (#2789)
      • Special feature for upgraders only: existing profiles that point to long-dead distributions will not be removed.
    • You can go clean up your key bindings and color schemes. (#2515)
    • If you’ve been selfhosting with us since v0.1 and have never taken our advice to delete your profiles, you’re going to have two copies of CMD and PowerShell.
      • It’s up to you how you’d like to proceed. You can probably delete one of each.
    • There’s a settings schema! If you’re using VS Code, it can help you not write typos. (#2803)

Changes

  • You can now use short hex color codes (like #ccc) in your settings. (#2658)
  • You can now hide profiles (key: hidden) (#2801) (#2800)
  • Some new defaults have landed (#2378)
    • Padding: 8 all around
    • Font size: 12? I think it’s actually 12, but the commit says 11. Good hygiene in commit messages is important, folks!
  • A new binding command, closeWindow, has been added. By default, it will bind to alt+f4. It’ll prompt you before exiting! (#2526) (#2858)
  • When you double-click a word delimiter, it’ll select all delimiters. Same thing when you drag over one. (#2511)
    • Space is special – space is different from the other delimiters in that selecting a period or a slash won’t automatically select every space on the screen (oops).

Bug Fixes

  • Terminal will no longer take a trip upstate when it fails to put something on the clipboard (#2590)
  • Terminal will be more resilient when your display adapter disappears (#2830)
  • Making the window smaller now has a lower chance of crashing when the alternate buffer is engaged (#2666)
  • You can now select text with your Surface Pen (or other pen) (#2586)
  • Running CLS in CMD will now clear the active screen buffer (not the wrong one, and definitely not a screen buffer on some other computer) (#2729)
  • HTML Copy improvements:
    • Entities are now escaped (#2777)
    • The background of the copied span is now correct (#2762)
  • [conhost] When you launch with VT mode enabled, tab stops are now set (#2816)
  • Poorly-behaved legacy applications that like to print literal control characters are no longer going to be very sad and wrong when they do. (#1964)
  • VirtualTerminalLevel = 1 is now engaged by default for Windows Terminal (and other pseudoconsole hosts) (#2824)
  • A huge contributor to the bug where copy forgot to include newlines has been addressed (#2797)
  • Accessibility should be somewhat less crashy (#2609)
  • VT handling improvements (conhost)
    • RIS will properly clear the display and the scrollback (#2367)
    • The VT scrolling commands now check their boundaries better (#2505)
    • IL and DL now have proper margin handling (#2731)
    • DECSTBM clipping is now applied more consistently (#2764)
    • Lines inserted will maintain their RGB/256-color attributes (#2668)
  • Hygiene: The panes implementation is now more consistent (#2494)
  • Hygiene: TerminalApp and Page are now more cleanly separated so that we can support different hosting environments. (#2208)
Assets 3

@DHowett-MSFT DHowett-MSFT released this Aug 27, 2019 · 258 commits to master since this release

Features

  • HTML Copy! (#1224) (#2038)
    • HTML copy is incontrovertible.
      • If you want to paste plain text, the receiving application should provide that option.
  • There have been significant improvements to tab titles (#2373)
    • tabTitle is no longer an override
    • Any opened tab will default to being named after its profile (or tabTitle, if it is set)
    • The shell can read and change this title.
      • CMD likes to append the running command name to the existing title. It can now do that!
  • You can now double-click and drag to continue selecting words (#2184)
    • …and triple-click and drag to continue selecting lines!
  • Your settings will no longer roam from machine to machine. (#2298)
    • We always thought it’d be a good idea to roam settings, but really it ended up being a lot more trouble than it was worth.
    • No longer will your WSL and PowerShell Core profiles from Machine A cause WT to fail to run on Machine B!
    • We’ll migrate them to local storage for you.
      • Even if you're using a symbolic link!
  • You can now bind Ctrl+C to copy and it’ll still send a literal ^C if you don’t have any text selected (#2446)
  • A new selection mode, copyOnSelect, has been added: Text will be copied to your clipboard when you select. Immediately. (#2152)
  • A broader range of settings errors will now result in useful diagnostics instead of useless diagnostics. (#2422)
  • A new key binding action, openNewTabDropdown, has been added. By default, we bind it to Ctrl+Shift+Space.
    • As with all new default bindings, it will only be added for new users.

Changes

  • Azure Cloud Shell no longer identifies itself as Visual Studio Code (#2219)
  • (Dev builds only) Azure Cloud Shell only shows up if it would actually work on your build. (#2195)
  • The settings file will never be rewritten once it exists. (#2475)
  • (on 100%-scale displays) UIA text ranges will now appear in the right place on-screen (#2423)

Bug Fixes

  • Powershell should no longer crash when you close its tab (#2198)
    • Applications will now receive proper exit events when you close their tabs.
  • Tab icons now flicker 100% less often (#2376)
  • We won’t crash when you try to split panes for ants -- thanks @richardszalay! (#2450)
  • Data copied to the clipboard will be kept once you exit WT (#2486)
  • It’s a bit harder to accidentally detach the window from its dropdown menu. (#2438)
  • The box cursor will be 74% less blurry and 100% more cool (#2491)
  • Underlines won’t be in the wrong color any longer! (#2491)
  • The windows key will no longer snap on input. (#2514)
  • Azure Cloud Shell will no longer fail when it can't figure out a tenant's name (#2508)
Assets 3

@DHowett-MSFT DHowett-MSFT released this Aug 6, 2019 · 318 commits to master since this release

Bug Fixes

  • Ctrl+Alt+# shortcuts will no longer conflict with AltGr-modified keys (#2235)
Assets 3
You can’t perform that action at this time.