Something like "unfocusedAppearance" but for when the process is dead / no longer running + reportCommandStart option #22828

Open
opened 2026-01-31 08:24:41 +00:00 by claunia · 0 comments
Owner

Originally created by @hi2u on GitHub (Feb 1, 2025).

Prior work: unfocusedAppearance

I really love the unfocusedAppearance override that lets us set different styling for windows that aren't focused. Really useful when you have lots of monitors. This feature alone means I have little interest in switching to any other alternative terminal program that didn't have this.

Same as above, but for: process running state

I also use the closeOnExit: "never" setting in most of my profiles, which means that my terminal windows can be either in:

  • State A) The normal running state
  • State B) Between executions, i.e. when I'm still sitting at the prompt below (and haven't hit Enter yet):
[process exited with code 0 (0x00000000)]
You can now close this terminal with Ctrl+D, or press Enter to restart.

It would be awesome if a clone of same styling override object like unfocusedAppearance could also be defined for state B above, so it's super obvious at a glance which terminals aren't actually running their profile.commandline process right now.

It could be named deadProcessAppearance or something like that.

It would be especially handy when your process has a long startup time, i.e. you've hit Enter to restart it, but maybe it hasn't displayed anything yet, or it just doesn't do a lot of output in general. I find that for these types of processes, I'm often sitting here wondering if I did actually hit Enter yet (or pressed it too softly, or another window was focused etc), so I end up mashing the Enter key like 3 times to be sure, haha.

Bonus idea: reportCommandStart

Additionally, related to these types of use cases:

It would also be nice if there were a boolean toggle setting per-profile called something like reportCommandStart?: boolean, where if set to true... would immediately echo a line like Running: ${profile.commandline} as soon as I hit Enter.

Or better yet, make the option a string such as: reportCommandStartPrefix?: string so you can specify your own alternative to Running:

Originally created by @hi2u on GitHub (Feb 1, 2025). ### Prior work: `unfocusedAppearance` I really love the [`unfocusedAppearance`](https://learn.microsoft.com/en-us/windows/terminal/customize-settings/profile-appearance#unfocused-appearance-settings) override that lets us set different styling for windows that aren't focused. Really useful when you have lots of monitors. This feature alone means I have little interest in switching to any other alternative terminal program that didn't have this. ### Same as above, but for: process running state I also use the [`closeOnExit: "never"`](https://learn.microsoft.com/en-us/windows/terminal/customize-settings/profile-advanced#profile-termination-behavior) setting in most of my profiles, which means that my terminal windows can be either in: * State A) The normal running state * State B) Between executions, i.e. when I'm still sitting at the prompt below (and haven't hit Enter yet): ``` [process exited with code 0 (0x00000000)] You can now close this terminal with Ctrl+D, or press Enter to restart. ``` It would be awesome if a clone of same styling override object like [`unfocusedAppearance`](https://learn.microsoft.com/en-us/windows/terminal/customize-settings/profile-appearance#unfocused-appearance-settings) could also be defined for state B above, so it's super obvious at a glance which terminals aren't actually running their `profile.commandline` process right now. It could be named `deadProcessAppearance` or something like that. It would be especially handy when your process has a long startup time, i.e. you've hit Enter to restart it, but maybe it hasn't displayed anything yet, or it just doesn't do a lot of output in general. I find that for these types of processes, I'm often sitting here wondering if I did actually hit Enter yet (or pressed it too softly, or another window was focused etc), so I end up mashing the Enter key like 3 times to be sure, haha. ### Bonus idea: `reportCommandStart` Additionally, related to these types of use cases: It would also be nice if there were a boolean toggle setting per-profile called something like `reportCommandStart?: boolean`, where if set to `true`... would immediately echo a line like `Running: ${profile.commandline}` as soon as I hit Enter. Or better yet, make the option a string such as: `reportCommandStartPrefix?: string` so you can specify your own alternative to `Running: `
claunia added the Issue-FeatureResolution-Duplicate labels 2026-01-31 08:24:41 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#22828