Add ability to run in background #14224

Closed
opened 2026-01-31 04:04:19 +00:00 by claunia · 4 comments
Owner

Originally created by @Gravifer on GitHub (Jun 13, 2021).

Description of the new feature/enhancement

I think it would be more convenient to be able to put the terminal host in the background.

As I imagine, in the fullest form:

  • when any instance is put to the background (which may be set as the default behavior when the window is minimized), the host leaves an icon in the task bar;
  • when the icon is clicked, a menu pops up and lists all running instances, with simple notification (running/error/finished) of status for each.
Originally created by @Gravifer on GitHub (Jun 13, 2021). <!-- 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨 I ACKNOWLEDGE THE FOLLOWING BEFORE PROCEEDING: 1. If I delete this entire template and go my own path, the core team may close my issue without further explanation or engagement. 2. If I list multiple bugs/concerns in this one issue, the core team may close my issue without further explanation or engagement. 3. If I write an issue that has many duplicates, the core team may close my issue without further explanation or engagement (and without necessarily spending time to find the exact duplicate ID number). 4. If I leave the title incomplete when filing the issue, the core team may close my issue without further explanation or engagement. 5. If I file something completely blank in the body, the core team may close my issue without further explanation or engagement. All good? Then proceed! --> # Description of the new feature/enhancement <!-- A clear and concise description of what the problem is that the new feature would solve. Describe why and how a user would use this new functionality (if applicable). --> I think it would be more convenient to be able to put the terminal host in the background. As I imagine, in the fullest form: - when any instance is put to the background (which may be set as the default behavior when the window is minimized), the host leaves an icon in the task bar; - when the icon is clicked, a menu pops up and lists all running instances, with simple notification (running/error/finished) of status for each. <!-- # Proposed technical implementation details (optional) --> <!-- A clear and concise description of what you want to happen. -->
claunia added the Issue-FeatureNeeds-TriageNeeds-Tag-Fix labels 2026-01-31 04:04:19 +00:00
Author
Owner

@WSLUser commented on GitHub (Jun 14, 2021):

This is related to the defterm stuff. You can execute a long running script on conhost and the console window can be hidden and run in the background. With Windows Terminal able to become the default console, it should provide similar functionality/experience. The Terminal devs are still fleshing out issues with the defterm and I think you require an Insiders build to test it out.

@WSLUser commented on GitHub (Jun 14, 2021): This is related to the defterm stuff. You can execute a long running script on conhost and the console window can be hidden and run in the background. With Windows Terminal able to become the default console, it should provide similar functionality/experience. The Terminal devs are still fleshing out issues with the defterm and I think you require an Insiders build to test it out.
Author
Owner

@Gravifer commented on GitHub (Jun 15, 2021):

@WSLUser thanks for your reply. Maybe I have mistake your argument, but I don't think what I'm suggesting requires Terminal to be the defterm.
I am not clear about the limitations of Terminal's current status, though Chrome and Slack are able to "hide themselves to the task bar", which doesn't seem to require more than standard API (I'm not sure though).
Maybe it is possible to provide a similar experience in Terminal? In this case, neither the shell sessions nor the processes running in them are really put to the background; technically only the Terminal window is hidden.
To my mind, this is enough to provide a decent user experience. This is like using tmux without setting it up as the default shell: it only serves to hold the sessions and prevents accidental hang up.

@Gravifer commented on GitHub (Jun 15, 2021): @WSLUser thanks for your reply. Maybe I have mistake your argument, but I don't think what I'm suggesting requires Terminal to be the defterm. I am not clear about the limitations of Terminal's current status, though Chrome and Slack are able to "hide themselves to the task bar", which doesn't seem to require more than standard API (I'm not sure though). Maybe it is possible to provide a similar experience in Terminal? In this case, neither the shell sessions nor the processes running in them are really put to the background; technically only the Terminal window is hidden. To my mind, this is enough to provide a decent user experience. This is like using tmux without setting it up as the default shell: it only serves to hold the sessions and prevents accidental hang up.
Author
Owner

@skyline75489 commented on GitHub (Jun 15, 2021):

I think this is similar to #5727?

@skyline75489 commented on GitHub (Jun 15, 2021): I think this is similar to #5727?
Author
Owner

@Gravifer commented on GitHub (Jun 15, 2021):

@skyline75489 you're right. Sorry for overlooking similar issues in my initial search.

@Gravifer commented on GitHub (Jun 15, 2021): @skyline75489 you're right. Sorry for overlooking similar issues in my initial search.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#14224