When selecting a new tab with the tab switcher, preview the selected tab in the Terminal #10299

Closed
opened 2026-01-31 02:17:42 +00:00 by claunia · 4 comments
Owner

Originally created by @zadjii-msft on GitHub (Aug 26, 2020).

Originally assigned to: @zadjii-msft on GitHub.

The new tab switcher is great. But I think it'd be even cooler if as I was switching tabs with it, the content of the terminal changed to reflect the tab I had selected.

So if I had [cmd, ubuntu, pwsh] open, with cmd focused, and opened the tab switcher to the "next tab", then the terminal would show me the ubuntu tab underneath the tab switcher. If I hit next tab again, then I want to see powershell underneath the switcher. Then, if I release the anchor key, just close the tab switcher. If I hit escape instead, then return me back to the tab I started on (cmd).

This is kinda a specialization of "Allow commands to be previewed in the command palette #6689", but this might be easier to do with the tab switcher, considering we already know that the original tab was (the state to restore to), and the command to use as the "preview".

I tried trivially implementing this today, but as I dispatched the commands from the cmdpal, the focus moved out of the cmdpal into the terminal, so that might be something to watch out for.

/cc @leonMSFT

Originally created by @zadjii-msft on GitHub (Aug 26, 2020). Originally assigned to: @zadjii-msft on GitHub. The new tab switcher is great. But I think it'd be even cooler if as I was switching tabs with it, the content of the terminal changed to reflect the tab I had selected. So if I had [cmd, ubuntu, pwsh] open, with cmd focused, and opened the tab switcher to the "next tab", then the terminal would show me the ubuntu tab underneath the tab switcher. If I hit next tab again, then I want to see powershell underneath the switcher. Then, if I release the anchor key, just close the tab switcher. If I hit escape instead, then return me back to the tab I started on (cmd). This is kinda a specialization of "Allow commands to be previewed in the command palette #6689", but this might be easier to do with the tab switcher, considering we already know that the original tab was (the state to restore to), and the command to use as the "preview". I tried trivially implementing this today, but as I dispatched the commands from the cmdpal, the focus moved out of the cmdpal into the terminal, so that might be something to watch out for. /cc @leonMSFT
Author
Owner

@BartXZX commented on GitHub (Aug 28, 2020):

One of the reasons I switched back to the old switching behaviour is because I often have 5+ tabs open with the same name, and selecting a tab without actually seeing what is on it is hard.

@BartXZX commented on GitHub (Aug 28, 2020): One of the reasons I switched back to the old switching behaviour is because I often have 5+ tabs open with the same name, and selecting a tab without actually seeing what is on it is hard.
Author
Owner

@nphmuller commented on GitHub (Sep 9, 2020):

The lack of this feature is the main reason I disabled the tab switcher. I really like the switcher, but I like the previous behavior of seeing the content during "tabbing" better.

@nphmuller commented on GitHub (Sep 9, 2020): The lack of this feature is the main reason I disabled the tab switcher. I really like the switcher, but I like the previous behavior of seeing the content during "tabbing" better.
Author
Owner

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

:tada:This issue was addressed in #7796, which has now been successfully released as Windows Terminal v1.4.3141.0.🎉

Handy links:

@ghost commented on GitHub (Nov 11, 2020): :tada:This issue was addressed in #7796, which has now been successfully released as `Windows Terminal v1.4.3141.0`.:tada: Handy links: * [Release Notes](https://github.com/microsoft/terminal/releases/tag/v1.4.3141.0) * [Store Download](https://www.microsoft.com/store/apps/9n8g5rfz9xk3?cid=storebadge&ocid=badge)
Author
Owner

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

:tada:This issue was addressed in #7796, which has now been successfully released as Windows Terminal Preview v1.5.3142.0.🎉

Handy links:

@ghost commented on GitHub (Nov 11, 2020): :tada:This issue was addressed in #7796, which has now been successfully released as `Windows Terminal Preview v1.5.3142.0`.:tada: Handy links: * [Release Notes](https://github.com/microsoft/terminal/releases/tag/v1.5.3142.0) * [Store Download](https://www.microsoft.com/store/apps/9n8g5rfz9xk3?cid=storebadge&ocid=badge)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#10299