Scott Hanselman

Windows Terminal 1.0 is coming - Update now and set up your split pane hotkeys!

March 20, '20 Comments [11] Posted in Win10
Sponsored By

The Windows Terminal is free and in the Windows Store and you should go make sure you have the latest update. The v0.10 is out and it's got a number of lovely quality of life improvements, not the least of which is Mouse Support!

Mouse Support

What's that mean, doesn't it already support mice? This means Text-Mode mouse support. So your apps like tmux and Midnight Commander can receive and react to mouse events, event when you're ssh'ed in remotely! That's because it's using VT (virtual terminal) textual commands under the covers.

Mouse Support for text mode is super useful if you use apps like Midnight Commander under Linux, or if you split plans with tmux.

Split Pane

You can change Windows Terminal in any way with themes, colors, gifs, key bindings and more. Many of you use screen or tmux under Linux and you can and should do that.

Terminal also supports splitting natively and for any shell (remember terminal != console != shell) and they just added a lovely splitMode=duplicate that makes a copy of the shell/profile in focus.

NOTE: You might consider starting with a fresh profile if yours is getting out of control.

{
"keys": ["ctrl+shift+d"],
"command": {
"action": "splitPane",
"split": "auto",
"splitMode": "duplicate"
}
}

Here's my whole keybindings section right now, including the part above.

"keybindings": [
{
"command": "closeTab",
"keys": ["ctrl+w"]
},
{
"command": "newTab",
"keys": ["ctrl+t"]
},
{
"command": {
"action": "splitPane",
"split": "auto"
},
"keys": ["ctrl+|"]
},
{
"keys": ["ctrl+shift+d"],
"command": {
"action": "splitPane",
"split": "auto",
"splitMode": "duplicate"
}
}
],

So I can split with ctrl+shift+d and get a copy of whatever is in front. I can use ctrl+| to get my default terminal, and I can use ctrl+shift+w to close the pane in focus, while ctrl+w close the current tab. Yummy.

Currently, the Terminal teams says they are fixing bugs to prepare for the release of v1. Windows Terminal v1 will be released in May!


Sponsor: Couchbase gives developers the power of SQL with the flexibility of JSON. Start using it today for free with technologies including Kubernetes, Java, .NET, JavaScript, Go, and Python.

About Scott

Scott Hanselman is a former professor, former Chief Architect in finance, now speaker, consultant, father, diabetic, and Microsoft employee. He is a failed stand-up comic, a cornrower, and a book author.

facebook twitter subscribe
About   Newsletter
Sponsored By
Hosting By
Dedicated Windows Server Hosting by SherWeb
Tuesday, March 24, 2020 1:49:54 AM UTC
Nice. Your keybindings have been shamelessly stolen.

Um...er...I mean, respectfully used in homage...Yeah, that's it.

And the release notes for this project are hilarious.

Resizing the terminal when you have an absurd amount of history should no longer result in us consuming all of the RAM in the known universe and subsequently crashing (#4964).
  • I do mean "absurd" by 1980s standards: 32767 lines.
  • Mike Loux
    Tuesday, March 24, 2020 6:47:57 AM UTC
    Extremely annoying that for every windows terminal update the first recomendation is "delete your profile and start from scratch". Considering that it's supposed to be a productivity tool, this is exact opposite of productivity
    Pavel
    Tuesday, March 24, 2020 1:51:30 PM UTC
    @Pavel: Well, this is a product going through a beta period. It doesn't seem unreasonable to suggest clearing out if your configuration is becoming unwieldy. At least it is a stand-alone file, and you can add back in pieces after you test new functionality.
    Shawn Hurst
    Tuesday, March 24, 2020 3:02:02 PM UTC
    Any tips on how to quickly move between panes?
    Jesper Liljegren
    Tuesday, March 24, 2020 11:50:24 PM UTC
    @Jesper Liljegren

    Keyboard shortcuts to move the focus or resize the active pane are provided as well. The shortcut Alt-Up|Down|Left|Right moves the focus accordingly, and the shortcut Alt-Shift-Down|Left|Right|Up resizes the pane instead.
    Tuesday, March 24, 2020 11:52:20 PM UTC
    How do you close split panes and go back to "fullscreen" again for the given tab?
    Wednesday, March 25, 2020 8:59:49 AM UTC
    Quick tip if you are creating a custom profile eg to ssh in to a Raspberry Pi as per one of Scott's previous blog posts:

    The icon property takes a URL (rather than having to download and reference an icon from a local folder on disk), eg https://img.icons8.com/color/48/000000/raspberry-pi.png
    Thursday, March 26, 2020 4:43:42 PM UTC
    thanks for informtaion about Mouse Support for text mode is super useful if you use apps like Midnight Commander under Linux, or if you split plans with tmux.

    Thursday, March 26, 2020 4:45:06 PM UTC
    why Windows Terminal v1 will be released in May???
    Saturday, March 28, 2020 9:26:34 AM UTC
    I really like Windows Terminal, especially out of the box support for many tabs.
    Thursday, April 02, 2020 9:28:52 PM UTC
    For Health labs related coupon plz check Coupon Fond Health Labs
    Name
    E-mail
    (will show your gravatar icon)
    Home page
    2+5

    Comment (Some html is allowed: a@href@title, b, blockquote@cite, em, i, li, ol, pre, strike, strong, sub, super, u, ul) where the @ means "attribute." For example, you can use <a href="" title=""> or <blockquote cite="Scott">.  

    Live Comment Preview

    Disclaimer: The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.