Skip to content

New action Restart this tab in the tab's topbar context menu #18891

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
vadimkantorov opened this issue May 10, 2025 · 2 comments
Open

New action Restart this tab in the tab's topbar context menu #18891

vadimkantorov opened this issue May 10, 2025 · 2 comments
Labels
Area-UserInterface Issues pertaining to the user interface of the Console or Terminal Help Wanted We encourage anyone to jump in on these. Issue-Task It's a feature request, but it doesn't really need a major design. Priority-3 A description (P3) Product-Terminal The new Windows Terminal.
Milestone

Comments

@vadimkantorov
Copy link

vadimkantorov commented May 10, 2025

Description of the new feature

Image

This is useful when a tab is completely hung because of hung ssh session in a tab (e.g. happens when you have ssh connection, shut the laptop lid, then wake it up without wifi). In this state of ssh blocking in some I/O (under WSLv1 Ubuntu 24.04), the tab does not respond to any input, including Ctrl + Z and one has to wait for minutes until it prints client_loop: send disconnect: Connection reset by peer (I'll try using also the tilde commands, but they won't work for some other non-ssh I/O blocked tab anyways). If it's possible to also send some Linux signal into the tab (Ctrl+C or Ctrl+Z)

It is then useful to be able to restart this particular tab to not need to start a new one and then move it with a mouse to keep the tab order the same

Proposed technical implementation details

No response


Regarding Duplicate tab: currently the new duplicate tab gets placed at the right end of the topbar, not next to the duplicate tab. I would suggest that it the new tab should be placed right after the original one - just like in Chrome

@vadimkantorov vadimkantorov added the Issue-Feature Complex enough to require an in depth planning process and actual budgeted, scheduled work. label May 10, 2025
@microsoft-github-policy-service microsoft-github-policy-service bot added Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Needs-Tag-Fix Doesn't match tag requirements labels May 10, 2025
@DHowett
Copy link
Member

DHowett commented May 10, 2025

We should probably put it in the menu.

For now, you can get at it with the command palette under the name "restart connection".

@vadimkantorov
Copy link
Author

vadimkantorov commented May 11, 2025

For Duplicate tab - also please consider creating the new tab right next to the old one (similar to Chrome) and not flushed to the right

And the other idea - is to be able to send some Linux signals (equivalent to Ctrl+C and Ctrl+Z) also directly from the context menu...

@DHowett DHowett added Help Wanted We encourage anyone to jump in on these. Area-UserInterface Issues pertaining to the user interface of the Console or Terminal Product-Terminal The new Windows Terminal. Issue-Task It's a feature request, but it doesn't really need a major design. Priority-3 A description (P3) and removed Issue-Feature Complex enough to require an in depth planning process and actual budgeted, scheduled work. labels May 14, 2025
@DHowett DHowett added this to the Backlog milestone May 14, 2025
@microsoft-github-policy-service microsoft-github-policy-service bot removed the Needs-Tag-Fix Doesn't match tag requirements label May 14, 2025
@DHowett DHowett removed the Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting label May 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-UserInterface Issues pertaining to the user interface of the Console or Terminal Help Wanted We encourage anyone to jump in on these. Issue-Task It's a feature request, but it doesn't really need a major design. Priority-3 A description (P3) Product-Terminal The new Windows Terminal.
Projects
None yet
Development

No branches or pull requests

2 participants