Scenario: Add support for panes #1344

Open
opened 2026-01-30 22:23:08 +00:00 by claunia · 51 comments
Owner

Originally created by @zadjii-msft on GitHub (May 24, 2019).

Originally assigned to: @zadjii-msft on GitHub.

image

This is the megathread for tracking all the work related to Panes in the Windows Terminal.

1.0 Features

1.0 Features
  • Original issue: #532 -> added in Move the solution to VS2019 and v142 toolset (#825)
  • #991 Panes should be resizable with the keyboard. (fixed PR #1207)
  • #995 The user should be able to navigate the focus of panes with the keyboard, instead of requiring the mouse. (PR #1910)
  • #993 There's no keyboard shortcut for "ClosePane"
  • #998 Open panes with a specific profile
  • #994 There should be some sort of UI to indicate that a particular pane is focused, more than just the blinking cursor. tmux accomplishes this by colorizing the separators adjacent to the active pane. Another idea is displaying a small outline around the focused pane (like when tabbing through controls on a webpage). (PR:#3060)
  • #999 If you click on the separator's between panes, then no panes will be focused (PR #3540)
  • #3045 Moving focus between panes doesn't always work (PR #3958)
  • #3544 Add a default keybinding for panes, to enable them by default. (PR #3585)
  • #2834 Snap to character grid when resizing window (PR #3181)
  • #3960 Automatic splits similar to tiling window managers

1.x features / bugs

  • #1756 The user should be able to configure what profile is used for splitting a pane. Currently, the default profile is used, but it's possible a user might want to create a new pane with the parent pane's profile.
  • #992 Panes should be resizable with the mouse. The user should be able to drag the separator for a pair of panes, and have the content between them resize as the separator moves.
  • #4692 Pane focus movement doesn't remember where it came from

2.0 Features / Bugs

  • #2398 Move focus to the visually adjacent pane, not just the first pane on the other side of the separator.
    • Also: #4692 Pane focus movement doesn't remember where it came from
  • #3062 Add a configuration object for focused vs unfocused state
  • #996 The user should be able to zoom a pane, to make the pane take the entire size of the terminal window temporarily.
  • #5803 moveFocus to pane using number (See also #5464)
  • #3917 Panel split background ignores requestedTheme, follows system app mode
  • Add a percent parameter to SplitPane Crash to desktop when running an invalid Export Certificate Powershell command (#3997)
  • wt split-pane (multiple copies) seems to have occasional focus issues #6586
  • #2871 Add nextPane and prevPane keybindings (in PR #8183)
  • #1001 Panes should have an optional motion effect on entrance
  • Panes should have an animation when they're closed, too #7366

Panes Titlebar Follow-ups - See #4998

  • Add title to split window #4717
  • #7075 Allow moving panes to other tabs
  • Panes should have editable titles #7290

Backlog items

Theming items

Originally created by @zadjii-msft on GitHub (May 24, 2019). Originally assigned to: @zadjii-msft on GitHub. ![image](https://user-images.githubusercontent.com/18356694/68697343-41ea2380-0544-11ea-8218-601b57fdd835.png) This is the megathread for tracking all the work related to [Panes](https://docs.microsoft.com/en-us/windows/terminal/panes) in the Windows Terminal. ### 1.0 Features <details> <summary>1.0 Features</summary> * [x] Original issue: #532 -> added in #825 * [x] #991 Panes should be resizable with the keyboard. (fixed PR #1207) * [x] #995 The user should be able to navigate the focus of panes with the keyboard, instead of requiring the mouse. (PR #1910) * [x] #993 There's no keyboard shortcut for "ClosePane" * [x] #998 Open panes with a specific profile * [x] #994 There should be some sort of UI to indicate that a particular pane is focused, more than just the blinking cursor. `tmux` accomplishes this by colorizing the separators adjacent to the active pane. Another idea is displaying a small outline around the focused pane (like when tabbing through controls on a webpage). (PR:#3060) * [x] #999 If you click on the separator's between panes, then no panes will be focused (PR #3540) * [x] #3045 Moving focus between panes doesn't always work (PR #3958) * [x] #3544 Add a default keybinding for panes, to enable them by default. (PR #3585) * [x] #2834 Snap to character grid when resizing window (PR #3181) * [x] #3960 Automatic splits similar to tiling window managers </details> ### 1.x features / bugs * [x] #1756 The user should be able to configure what profile is used for splitting a pane. Currently, the default profile is used, but it's possible a user might want to create a new pane with the parent pane's profile. * [ ] #992 Panes should be resizable with the mouse. The user should be able to drag the separator for a pair of panes, and have the content between them resize as the separator moves. * [ ] #4692 Pane focus movement doesn't remember where it came from ### 2.0 Features / Bugs * [x] #2398 Move focus to the visually adjacent pane, not just the first pane on the other side of the separator. - [ ] Also: #4692 Pane focus movement doesn't remember where it came from * [x] #3062 Add a configuration object for focused vs unfocused state * [x] #996 The user should be able to zoom a pane, to make the pane take the entire size of the terminal window temporarily. * [x] #5803 `moveFocus` to pane using number (See also #5464) * [ ] #3917 Panel split background ignores `requestedTheme`, follows system app mode * [x] Add a `percent` parameter to `SplitPane` #3997 * [x] wt split-pane (multiple copies) seems to have occasional focus issues #6586 * [x] #2871 Add ~~`nextPane` and~~ `prevPane` keybindings (in PR #8183) * [x] #1001 Panes should have an optional motion effect on entrance * [x] Panes should have an animation when they're closed, too #7366 ### Panes Titlebar Follow-ups - See #4998 * [ ] Add title to split window #4717 * [x] #7075 Allow moving panes to other tabs * [ ] Panes should have editable titles #7290 ### Backlog items * [ ] The user should be able to tear-off tabs and dock them as a split (See [this comment](https://github.com/microsoft/terminal/issues/443#issuecomment-519077162)) * [ ] #4587 Drag & Drop Tabs to create a Pane * [ ] Related, but different: Drag entries from the new tab menu to create panes #9229 * [ ] #997 A pane doesn't necessarily need to host a terminal. It could potentially host another UIElement. One could imagine enabling a user to quickly open up a Browser pane to search for a particular string without needing to leave the terminal. (spec #1080) * [ ] #3656 Add support for `tmux` Control Mode * [x] #2634 Support broadcast input (Spec #9365) * [ ] #4259 Open a new pane with the environment vars of the parent * [x] #4340 Choose Direction to Split Pane * [x] A switch panes option? Like a `switchLeft`, `switchRight`, `switchUp`, `switchDown`, to allow the user to rearrange the panes layout (https://github.com/microsoft/terminal/issues/1000#issuecomment-578665067) (#10638) * [ ] #4922 Swap panes * [x] #4941 Please add support closePaneRight/Left/Up/Down * [x] #5025 Open panes without keybindings * [ ] #6002 Split panes equally in size * [x] #6219 Pass through `moveFocus` keys when the user has no panes * [x] #6459 Pane focus follows mouse (PR: #8965) * [x] Moving focus with a zoomed pane should just zoom the adjacent pane #7215 * [ ] Add a fluent animation for pane zooming #7216 * [ ] Pane opening animation should not flash the default pane backdrop #7365 * [ ] Use a Clip rect for Pane animations instead of the Width/Height #7436 * [ ] Golden Ratio mode #8562 * [ ] #3586 Open a new pane by prompting the user for which profile to use * [x] #10665 * [x] #10733 * [ ] #10757 * [x] #10909 Allow moving through panes in ID order * [ ] #12186 * [ ] #16083 ### Theming items * [ ] #3061 Add a setting to manually set the Pane highlight color ~~(PR #3752)~~ - [ ] Add configurable Pane border _hover_ color #8564 * [ ] #3063 Add a setting to manually set the Pane border width * [ ] #3708 Add option for more subtle pane focus border
claunia added the Product-TerminalArea-UserInterfaceIssue-Scenario labels 2026-01-30 22:23:08 +00:00
Author
Owner

@DHowett-MSFT commented on GitHub (Jun 8, 2019):

We didn't commit the keybinding constants in with which people could opt. ☹️

@DHowett-MSFT commented on GitHub (Jun 8, 2019): We didn't commit the keybinding constants in with which people _could_ opt. ☹️
Author
Owner

@decriptor commented on GitHub (Jun 12, 2019):

I noticed that @zadjii-msft added the keybindings for panes back. I'm assuming it made it into 0.1.1621.0?

If I add this block:

                "command" : "splitHorizontal",
                "keys" : 
                [
                    "ctrl+shift+-"
                ]
            },
            {
                "command" : "splitVertical",
                "keys" : 
                [
                    "ctrl+shift+|"
                ]
            },

Only Horizontal works. I noticed that if I close Windows Terminal it deletes the splitVertical keybinding from profiles.json.

@decriptor commented on GitHub (Jun 12, 2019): I noticed that @zadjii-msft added the keybindings for panes back. I'm assuming it made it into 0.1.1621.0? If I add this block: ``` { "command" : "splitHorizontal", "keys" : [ "ctrl+shift+-" ] }, { "command" : "splitVertical", "keys" : [ "ctrl+shift+|" ] }, ``` Only Horizontal works. I noticed that if I close `Windows Terminal` it deletes the `splitVertical` keybinding from `profiles.json`.
Author
Owner

@zadjii-msft commented on GitHub (Jun 12, 2019):

@decriptor I believe that's because '|' isn't actually a key we support in the keybindings quite yet - see #1212

@zadjii-msft commented on GitHub (Jun 12, 2019): @decriptor I believe that's because '|' isn't actually a key we support in the keybindings quite yet - see #1212
Author
Owner

@decriptor commented on GitHub (Jun 12, 2019):

@zadjii-msft I believe you are right. I used ctrl+1 as a test and it didn't remove it.

@decriptor commented on GitHub (Jun 12, 2019): @zadjii-msft I believe you are right. I used `ctrl+1` as a test and it didn't remove it.
Author
Owner

@Jaykul commented on GitHub (Jun 26, 2019):

I know you really want it, @zadjii-msft but you have #998 on your list twice ;-)

@Jaykul commented on GitHub (Jun 26, 2019): I know you _really_ want it, @zadjii-msft but you have #998 on your list twice ;-)
Author
Owner

@zadjii-msft commented on GitHub (Jul 1, 2019):

@jaykul good catch, those are supposed to be separate issues.

@zadjii-msft commented on GitHub (Jul 1, 2019): @jaykul good catch, those are supposed to be separate issues.
Author
Owner

@akulbe commented on GitHub (Jul 3, 2019):

@zadjii-msft and @Jaykul - just let me know where to send the care packages (hoppy beverages / candy / beef jerky / etc) 😆

Cannot wait for panes to be implemented!

@akulbe commented on GitHub (Jul 3, 2019): @zadjii-msft and @Jaykul - just let me know where to send the care packages (hoppy beverages / candy / beef jerky / etc) 😆 Cannot wait for panes to be implemented!
Author
Owner

@Fumler commented on GitHub (Jul 24, 2019):

Any chance of getting "focus follows mouse" like in iterm2 and other terminals? So if this setting is turned on, the active pane would be the pane you have your mouse pointer over, without having to click it first.

@Fumler commented on GitHub (Jul 24, 2019): Any chance of getting "focus follows mouse" like in iterm2 and other terminals? So if this setting is turned on, the active pane would be the pane you have your mouse pointer over, without having to click it first.
Author
Owner

@jwhipp commented on GitHub (Aug 7, 2019):

I know you guys are hard at work on this, literally the only thing keeping it from being a full-time tool for me.

My request is that you look at this product for inspiration for split panes:

https://gnunn1.github.io/tilix-web/

After trying so many terminals, I feel like this is the one software that truly gets panes done the right way.

I am presently running this under WSL+Xming as a work around for the lack of decent split pane terminals under Windows.

@jwhipp commented on GitHub (Aug 7, 2019): I know you guys are hard at work on this, literally the only thing keeping it from being a full-time tool for me. My request is that you look at this product for inspiration for split panes: https://gnunn1.github.io/tilix-web/ After trying so many terminals, I feel like this is the one software that truly gets panes done the right way. I am presently running this under WSL+Xming as a work around for the lack of decent split pane terminals under Windows.
Author
Owner

@phalox commented on GitHub (Aug 8, 2019):

https://gnunn1.github.io/tilix-web/

After trying so many terminals, I feel like this is the one software that truly gets panes done the right way.

What's the difference with Terminator? This paned-terminal worked the best for everything I did; usually in a 4 pane setup! Awesome when developing!

@phalox commented on GitHub (Aug 8, 2019): > > https://gnunn1.github.io/tilix-web/ > > After trying so many terminals, I feel like this is the one software that truly gets panes done the right way. > What's the difference with Terminator? This paned-terminal worked the best for everything I did; usually in a 4 pane setup! Awesome when developing!
Author
Owner

@LukeCarrier commented on GitHub (Aug 8, 2019):

@phalox the keybindings in Tilix are pretty awesome and it's a very polished GTK 3 app. If you like Terminator there's a chance you'll love Tilix ;-)

@LukeCarrier commented on GitHub (Aug 8, 2019): @phalox the keybindings in Tilix are pretty awesome and it's a very polished GTK 3 app. If you like Terminator there's a chance you'll love Tilix ;-)
Author
Owner

@jwhipp commented on GitHub (Aug 8, 2019):

What's the difference with Terminator? This paned-terminal worked the best for everything I did; usually in a 4 pane setup! Awesome when developing!

I actually loved Terminator for the longest time and found Tilix during the Unity -> Gnome transition with Ubuntu. Terminator isn't seeing a lot of development these days and a number of bugs haven't been fixed. Like @LukeCarrier said, Tilix is just way more polished and has some neat features like the easy of keybindings and of multi-tab input and more advanced tab grouping.

I think both Tilix and Terminator are suitable for this project to use as a basis for how panes should work.

@jwhipp commented on GitHub (Aug 8, 2019): > What's the difference with Terminator? This paned-terminal worked the best for everything I did; usually in a 4 pane setup! Awesome when developing! I actually loved Terminator for the longest time and found Tilix during the Unity -> Gnome transition with Ubuntu. Terminator isn't seeing a lot of development these days and a number of bugs haven't been fixed. Like @LukeCarrier said, Tilix is just way more polished and has some neat features like the easy of keybindings and of multi-tab input and more advanced tab grouping. I think both Tilix and Terminator are suitable for this project to use as a basis for how panes should work.
Author
Owner

@ksawerykarwacki commented on GitHub (Aug 19, 2019):

Last RN states that there are two new keybindings resizePane{Up,Down,Left,Right} & moveFocus{Up,Down,Left,Right} is there any sample how this configuration should look like? I cannot write any valid json to handle that.

@ksawerykarwacki commented on GitHub (Aug 19, 2019): Last RN states that there are two new keybindings resizePane{Up,Down,Left,Right} & moveFocus{Up,Down,Left,Right} is there any sample how this configuration should look like? I cannot write any valid json to handle that.
Author
Owner

@zadjii-msft commented on GitHub (Aug 19, 2019):

08 May 2020 EDIT - This is no longer up-to-date, see below

Old message content

@ksawerykarwacki this is the blob I use for my pane settings typically:


            { "keys": ["alt+shift+-"], "command": "splitHorizontal" },
            { "keys": ["alt+shift+plus"], "command": "splitVertical" },

            { "keys": ["alt+shift+left"], "command": "resizePaneLeft" },
            { "keys": ["alt+shift+right"], "command": "resizePaneRight" },
            { "keys": ["alt+shift+up"], "command": "resizePaneUp" },
            { "keys": ["alt+shift+down"], "command": "resizePaneDown" },

            { "keys": ["alt+left"], "command": "moveFocusLeft" },
            { "keys": ["alt+right"], "command": "moveFocusRight" },
            { "keys": ["alt+up"], "command": "moveFocusUp" },
            { "keys": ["alt+down"], "command": "moveFocusDown" },

            { "keys": ["ctrl+shift+w"], "command": "closePane" },

The above keybindings were deprecated in 0.11. The new syntax for these can be found in the default settings for the Terminal:
28dc8196ab/src/cascadia/TerminalApp/defaults.json (L307-L318)

@zadjii-msft commented on GitHub (Aug 19, 2019): ## 08 May 2020 EDIT - This is no longer up-to-date, see below <details> <summary> Old message content </summary> @ksawerykarwacki this is the blob I use for my pane settings typically: ```json { "keys": ["alt+shift+-"], "command": "splitHorizontal" }, { "keys": ["alt+shift+plus"], "command": "splitVertical" }, { "keys": ["alt+shift+left"], "command": "resizePaneLeft" }, { "keys": ["alt+shift+right"], "command": "resizePaneRight" }, { "keys": ["alt+shift+up"], "command": "resizePaneUp" }, { "keys": ["alt+shift+down"], "command": "resizePaneDown" }, { "keys": ["alt+left"], "command": "moveFocusLeft" }, { "keys": ["alt+right"], "command": "moveFocusRight" }, { "keys": ["alt+up"], "command": "moveFocusUp" }, { "keys": ["alt+down"], "command": "moveFocusDown" }, { "keys": ["ctrl+shift+w"], "command": "closePane" }, ``` </details> The above keybindings were deprecated in 0.11. The new syntax for these can be found in the default settings for the Terminal: https://github.com/microsoft/terminal/blob/28dc8196ab38328fa5466d24ebfb339d87d191a5/src/cascadia/TerminalApp/defaults.json#L307-L318
Author
Owner

@cdmihai commented on GitHub (Sep 13, 2019):

What about the feature of dynamically resizing a pane to displayed contents when double clicking it's right separator? Similar to snapping to contents when double clicking column separators in Excel. Many other UIs have this affordance.

@cdmihai commented on GitHub (Sep 13, 2019): What about the feature of dynamically resizing a pane to displayed contents when double clicking it's right separator? Similar to snapping to contents when double clicking column separators in Excel. Many other UIs have this affordance.
Author
Owner

@moswald commented on GitHub (Sep 24, 2019):

FWIW, I think #756 is pretty important to calling pane support "done". I've been using ConEmu up until now, and it's nice how it opens up with my console panes pre-split and sized the way I like, and with the correct profiles loaded.

@moswald commented on GitHub (Sep 24, 2019): FWIW, I think #756 is pretty important to calling pane support "done". I've been using ConEmu up until now, and it's nice how it opens up with my console panes pre-split and sized the way I like, and with the correct profiles loaded.
Author
Owner

@jwhipp commented on GitHub (Oct 16, 2019):

I think that this is not the main feature, since soon it will not need to be implemented inside the ...

Very much disagree because tmux isn't a user friendly, modern UI experience. Tmux and similar tools (like Byobu) are great for remote panes/tabs but it's not a great mouse/desktop experience. The best Linux terminals and terminals competing for usage on Windows are implementing split panes.

Also, I am testing split panes now with the latest Windows store build and the feature working amazingly well. Key binds are splitVertical and splitHorizontal for those looking to test as well.

@jwhipp commented on GitHub (Oct 16, 2019): > I think that this is not the main feature, since soon it will not need to be implemented inside the ... Very much disagree because tmux isn't a user friendly, modern UI experience. Tmux and similar tools (like Byobu) are great for remote panes/tabs but it's not a great mouse/desktop experience. The best Linux terminals and terminals competing for usage on Windows are implementing split panes. Also, I am testing split panes now with the latest Windows store build and the feature working amazingly well. Key binds are splitVertical and splitHorizontal for those looking to test as well.
Author
Owner

@vrokolos commented on GitHub (Oct 30, 2019):

This is awesome!! didn't know it worked. works flawlessly

What I need is a way to open a bunch of scripts into panes from an external shortcut (4 webpacks in a single terminal with 4 panes automatically). Is there a way to do that?

@vrokolos commented on GitHub (Oct 30, 2019): This is awesome!! didn't know it worked. works flawlessly What I need is a way to open a bunch of scripts into panes from an external shortcut (4 webpacks in a single terminal with 4 panes automatically). Is there a way to do that?
Author
Owner

@eduardonunesp commented on GitHub (Oct 31, 2019):

Thanks @zadjii-msft ! you deserve the AwesomeDudePrize :)

@eduardonunesp commented on GitHub (Oct 31, 2019): Thanks @zadjii-msft ! you deserve the AwesomeDudePrize :)
Author
Owner

@mucahityilmaz commented on GitHub (Nov 12, 2019):

First of all, thanks for all of your work about panes.

I don't have a feature request but it took a while for me to find this issue, so there should be some information on PowerShell docs about these features, or at least some links here with the command tags. Maybe adding to the first entry here something like "Add docs"?

@mucahityilmaz commented on GitHub (Nov 12, 2019): First of all, thanks for all of your work about panes. I don't have a feature request but it took a while for me to find this issue, so there should be some information on PowerShell docs about these features, or at least some links here with the command tags. Maybe adding to the first entry here something like "Add docs"?
Author
Owner

@DHowett-MSFT commented on GitHub (Nov 12, 2019):

@mucahityilmaz thanks for the request! Panes are intentionally underdocumented because they’re not yet finished.

@DHowett-MSFT commented on GitHub (Nov 12, 2019): @mucahityilmaz thanks for the request! Panes are _intentionally_ underdocumented because they’re not yet finished.
Author
Owner

@DHowett-MSFT commented on GitHub (Nov 12, 2019):

(And I believe docs will come in with “enable a key binding for them by default”) 😄

@DHowett-MSFT commented on GitHub (Nov 12, 2019): (And I believe docs will come in with “enable a key binding for them by default”) :smile:
Author
Owner

@matt-kempster commented on GitHub (Nov 21, 2019):

In #532, from @zadjii-msft:

I did not know that Tmux Control Mode even existed. That sounds really awesome, I'm totally on board with trying to make that work somehow.

Was there any further thought put into this? I love tmux control mode - it's literally the only thing keeping me tethered to MacOS at work (since only iTerm supports it, and iTerm is mac-only). If it were implemented, I'd trash my Mac and request a Windows laptop immediately.

I'd love to see it listed as a post-1.0 milestone :)

@matt-kempster commented on GitHub (Nov 21, 2019): In #532, from @zadjii-msft: > I did not know that Tmux Control Mode even existed. That sounds really awesome, I'm totally on board with trying to make that work somehow. Was there any further thought put into this? I love tmux control mode - it's literally the only thing keeping me tethered to MacOS at work (since only iTerm supports it, and iTerm is mac-only). If it were implemented, I'd trash my Mac and request a Windows laptop immediately. I'd love to see it listed as a post-1.0 milestone :)
Author
Owner

@zadjii-msft commented on GitHub (Nov 21, 2019):

@matt-kempster You're right, we should have a tmux control mode task. Thanks for keeping me honest :)

@zadjii-msft commented on GitHub (Nov 21, 2019): @matt-kempster You're right, we _should_ have a tmux control mode task. Thanks for keeping me honest :)
Author
Owner

@jwhipp commented on GitHub (Nov 21, 2019):

I am sure this is on the radar, but the panes aren't mouse/keyboard re-sizable right now (unless there's a hidden tmux like keybinding I just don't know about). I'd like to be able to drag on the splitters like Terminator or Tilix.

@jwhipp commented on GitHub (Nov 21, 2019): I am sure this is on the radar, but the panes aren't mouse/keyboard re-sizable right now (unless there's a hidden tmux like keybinding I just don't know about). I'd like to be able to drag on the splitters like Terminator or Tilix.
Author
Owner

@zadjii-msft commented on GitHub (Nov 21, 2019):

@jwhipp

  • #991 Panes should be resizable with the keyboard. (fixed PR #1207)
  • #992 Panes should be resizable with the mouse. The user should be able to drag the separator for a pair of panes, and have the content between them resize as the separator moves.
@zadjii-msft commented on GitHub (Nov 21, 2019): @jwhipp > * [x] #991 Panes should be resizable with the keyboard. (fixed PR #1207) > * [ ] #992 Panes should be resizable with the mouse. The user should be able to drag the separator for a pair of panes, and have the content between them resize as the separator moves.
Author
Owner

@gabrieledarrigo commented on GitHub (Dec 6, 2019):

Just a question, there's no way to open/close a pane with a mouse action?

For example, as in iTerm2, a right-click that opens a context menu where a user could select "Split pane Vertically" or "Split pane Horizzontaly".

Don't know if this was already tracked or discussed since it wasn't clear from the todo list so forgive me if this is a duplicate question : )

@gabrieledarrigo commented on GitHub (Dec 6, 2019): Just a question, there's no way to open/close a pane with a mouse action? For example, as in iTerm2, a right-click that opens a context menu where a user could select "Split pane Vertically" or "Split pane Horizzontaly". Don't know if this was already tracked or discussed since it wasn't clear from the todo list so forgive me if this is a duplicate question : )
Author
Owner

@zadjii-msft commented on GitHub (Dec 6, 2019):

@gabrieledarrigo I believe you're correct, we don't really have a issue tracking specifically that request currently. It's definitely something we'd like, but probably as a part of #3337/#1912. Those are the issues tracking adding a context menu to various parts of the UI, and I think that adding splits to that menu will certainly be part of that design.

@zadjii-msft commented on GitHub (Dec 6, 2019): @gabrieledarrigo I believe you're correct, we don't really have a issue tracking specifically that request currently. It's definitely something we'd like, but probably as a part of #3337/#1912. Those are the issues tracking adding a context menu to various parts of the UI, and I think that adding splits to that menu will certainly be part of that design.
Author
Owner

@danielboth commented on GitHub (Jan 17, 2020):

What about running each pane in a different user context (aka runas)? Is that possible already / is that tracked somewhere?

@danielboth commented on GitHub (Jan 17, 2020): What about running each pane in a different user context (aka runas)? Is that possible already / is that tracked somewhere?
Author
Owner

@zadjii-msft commented on GitHub (Jan 17, 2020):

I don't think that's possible for the Terminal to support directly, though I'd assume that you could just set the commandline to runas /user:<whatever> pwsh.exe (or whatever runas commandline you want). With #3825 you can even specify a manual commandline for spitPane that would override the profile's commandline, like so:

{ "keys": ["ctrl+f"], "command": { "action": "splitPane", "split": "horizontal", "profile": "profile1", "commandline": "foo.exe" } },
@zadjii-msft commented on GitHub (Jan 17, 2020): I don't think that's possible for the Terminal to support directly, though I'd assume that you could just set the `commandline` to `runas /user:<whatever> pwsh.exe` (or whatever `runas` commandline you want). With #3825 you can even specify a manual commandline for `spitPane` that would override the profile's `commandline`, like so: ```json { "keys": ["ctrl+f"], "command": { "action": "splitPane", "split": "horizontal", "profile": "profile1", "commandline": "foo.exe" } }, ```
Author
Owner

@danielboth commented on GitHub (Jan 19, 2020):

Hi @zadjii-msft, I tested that scenario (calling runas.exe), but that spawns the new shell window (pwsh, but also tested with cmd) outside of terminal (as in, a new window similar what you would get if you would just launch cmd or pwsh outside of terminal).

@danielboth commented on GitHub (Jan 19, 2020): Hi @zadjii-msft, I tested that scenario (calling runas.exe), but that spawns the new shell window (pwsh, but also tested with cmd) outside of terminal (as in, a new window similar what you would get if you would just launch cmd or pwsh outside of terminal).
Author
Owner

@ZimGil commented on GitHub (Jan 27, 2020):

How about a switch panes option?
Like a switchLeft, switchRight, switchUp, switchDown,
To allow the user to rearrange the panes layout

@ZimGil commented on GitHub (Jan 27, 2020): How about a switch panes option? Like a `switchLeft`, `switchRight`, `switchUp`, `switchDown`, To allow the user to rearrange the panes layout
Author
Owner

@Luke87pl commented on GitHub (Jan 27, 2020):

Does the splitPane command have option to split to same profile as current one, instead of specific profile?

@Luke87pl commented on GitHub (Jan 27, 2020): Does the splitPane command have option to split to same profile as current one, instead of specific profile?
Author
Owner

@olfek commented on GitHub (Jan 31, 2020):

How do I close a pane after creating one using alt+shift++ or alt+shift+-?

@olfek commented on GitHub (Jan 31, 2020): How do I close a pane after creating one using `alt+shift++` or `alt+shift+-`?
Author
Owner

@ucavalcante commented on GitHub (Jan 31, 2020):

How do I close a pane after creating one using alt+shift++ or alt+shift+-?

with that default command below.

{ "command": "closePane", "keys": [ "ctrl+shift+w" ] },

@ucavalcante commented on GitHub (Jan 31, 2020): > How do I close a pane after creating one using `alt+shift++` or `alt+shift+-`? with that default command below. { "command": "closePane", "keys": [ "ctrl+shift+w" ] },
Author
Owner

@zadjii-msft commented on GitHub (Jan 31, 2020):

Does the splitPane command have option to split to same profile as current one, instead of specific profile?

@Luke87pl That's being tracked by "Allow the user's "open pane" bindings to open a pane with the current pane" #1756

@zadjii-msft commented on GitHub (Jan 31, 2020): > > > Does the splitPane command have option to split to same profile as current one, instead of specific profile? @Luke87pl That's being tracked by "Allow the user's "open pane" bindings to open a pane with the current pane" #1756
Author
Owner

@acshef commented on GitHub (Feb 14, 2020):

Can I have a profile that always opens as a split pane? Something like:

{
    "name": "Profile3",
    "commandline": "wt -p \"Profile1\" ; split-pane -H -p \"Profile2\""
}

(Which currently opens a new instance of Windows Terminal)

@acshef commented on GitHub (Feb 14, 2020): Can I have a profile that always opens as a split pane? Something like: ```json { "name": "Profile3", "commandline": "wt -p \"Profile1\" ; split-pane -H -p \"Profile2\"" } ``` (Which currently opens a new instance of Windows Terminal)
Author
Owner

@bgshacklett commented on GitHub (Mar 22, 2020):

Regarding the visual indication of which pane is active, I'd love to see the inactive pane(s) dimmed the way it's done in iTerm2.

@bgshacklett commented on GitHub (Mar 22, 2020): Regarding the visual indication of which pane is active, I'd love to see the inactive pane(s) dimmed the way it's done in iTerm2.
Author
Owner

@stweedie commented on GitHub (Jun 4, 2020):

any reason why moving left / right between panes doesn't respect current row?

All the time I have panes aligned in a square, and I want to go from bottom left to bottom right. Using the keybinding for moveFocusRight puts me in the TOP right pane

@stweedie commented on GitHub (Jun 4, 2020): any reason why moving left / right between panes doesn't respect current row? All the time I have panes aligned in a square, and I want to go from bottom left to bottom right. Using the keybinding for moveFocusRight puts me in the TOP right pane
Author
Owner

@jawn commented on GitHub (Jun 4, 2020):

@stweedie, is this what you are looking for?

#2398

@jawn commented on GitHub (Jun 4, 2020): @stweedie, is this what you are looking for? [#2398](https://github.com/microsoft/terminal/issues/2398)
Author
Owner

@stweedie commented on GitHub (Jun 4, 2020):

that is what I was looking for, thanks

@stweedie commented on GitHub (Jun 4, 2020): that is what I was looking for, thanks
Author
Owner

@Trolldemorted commented on GitHub (Nov 11, 2020):

I wrote a startup script which chains multiple split-pane commands, but it always splits one of the results of the last split:

grafik

Can I convice wt somehow to also split the left or top right pane? As you can see the resulting segmentation is neither ideal, nor what all users want.

If not, is there a feature request for that?

@Trolldemorted commented on GitHub (Nov 11, 2020): I wrote a startup script which chains multiple `split-pane` commands, but it always splits one of the results of the last split: ![grafik](https://user-images.githubusercontent.com/10261186/98751517-8b23bc00-23c0-11eb-9e68-7873be117946.png) Can I convice wt somehow to also split the left or top right pane? As you can see the resulting segmentation is neither ideal, nor what all users want. If not, is there a feature request for that?
Author
Owner

@anthonyvdotbe commented on GitHub (Nov 11, 2020):

@Trolldemorted as is mentioned in the OP:

#4340 Choose Direction to Split Pane

@anthonyvdotbe commented on GitHub (Nov 11, 2020): @Trolldemorted as is mentioned in the [OP](https://github.com/microsoft/terminal/issues/1000#issue-448313626): > #4340 Choose Direction to Split Pane
Author
Owner

@Trolldemorted commented on GitHub (Nov 11, 2020):

#4340 would allow me to specify whether I want to split the right or left pane, but not to split both, right?

@Trolldemorted commented on GitHub (Nov 11, 2020): #4340 would allow me to specify whether I want to split the right or left pane, but not to split both, right?
Author
Owner

@anthonyvdotbe commented on GitHub (Nov 11, 2020):

Ah yes. What about #3759?

@anthonyvdotbe commented on GitHub (Nov 11, 2020): Ah yes. What about #3759?
Author
Owner

@Trolldemorted commented on GitHub (Nov 11, 2020):

Depending how they solve it it might partially cover that, but it won't cover the "commit a batch script in your repository which starts wt in a grid layout" use case, correct? Every user would have to create a profile manually, or we'd have to touch the users' profiles in our batch script.

@Trolldemorted commented on GitHub (Nov 11, 2020): Depending how they solve it it might partially cover that, but it won't cover the "commit a batch script in your repository which starts wt in a grid layout" use case, correct? Every user would have to create a profile manually, or we'd have to touch the users' profiles in our batch script.
Author
Owner

@zadjii-msft commented on GitHub (Nov 11, 2020):

So, #4340 "Choose Direction to Split Pane" might be helpful yes, but then you'll still get stuck splitting panes down just one branch of the tree.

What you really want is probably #6580, which will let you move-focus in the commandline, so you'll be able to navigate to other panes and split those.

Also maybe helpful in the future:

  • #5803 moveFocus to pane using number (See also #5464)
    • again, only useful once there's a move-focus command
      #2871 Add nextPane and prevPane keybindings
    • Same deal, you'd need nextPane & prevPane to be exposed as subcommands, not just actions
@zadjii-msft commented on GitHub (Nov 11, 2020): So, #4340 "Choose Direction to Split Pane" might be helpful yes, but then you'll still get stuck splitting panes down just one branch of the tree. What you really want is probably #6580, which will let you `move-focus` in the commandline, so you'll be able to navigate to other panes and split those. Also maybe helpful in the future: * #5803 moveFocus to pane using number (See also #5464) - again, only useful once there's a `move-focus` command #2871 Add `nextPane` and `prevPane` keybindings - Same deal, you'd need `nextPane` & `prevPane` to be exposed as subcommands, not just actions
Author
Owner

@Trolldemorted commented on GitHub (Nov 11, 2020):

Thanks @zadjii-msft ! Let's hope #6580 will make it to the roadmap soon.

Can I specify an initial command for the shells somehow? Right now I am using -d . powershell.exe -NoExit -Command someshellcommand, but I am unable to rerun that command with arrow up + enter (it doesn't show up, only old commands from old shells are showing). Tried to do it with add-history, but without success.

@Trolldemorted commented on GitHub (Nov 11, 2020): Thanks @zadjii-msft ! Let's hope #6580 will make it to the roadmap soon. Can I specify an initial command for the shells somehow? Right now I am using `-d . powershell.exe -NoExit -Command someshellcommand`, but I am unable to rerun that command with arrow up + enter (it doesn't show up, only old commands from old shells are showing). Tried to do it with `add-history`, but without success.
Author
Owner

@JelteF commented on GitHub (May 7, 2021):

"#6459 Pane focus follows mouse" can be checked off the list, a fix for it has been merged a while back.

@JelteF commented on GitHub (May 7, 2021): "#6459 Pane focus follows mouse" can be checked off the list, a fix for it has been merged a while back.
Author
Owner

@zadjii-msft commented on GitHub (May 7, 2021):

@JelteF Thanks! Cleaned that up a bit ☺️

@zadjii-msft commented on GitHub (May 7, 2021): @JelteF Thanks! Cleaned that up a bit ☺️
Author
Owner

@diegopaludo commented on GitHub (Jun 4, 2021):

Hi,

There are option to move panes like tmux ?

@diegopaludo commented on GitHub (Jun 4, 2021): Hi, There are option to move panes like tmux ?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#1344