microsoft / microsoft/terminal

"Present a warning dialog when ... tab is in Running State"?

Open
#20,083 2 comments 0 reactions 1 assignee Claimed by @carlos-zamora View on GitHub
Area-Settings Issue-Task Product-Terminal
Dominant language
C++
Stars
105k
Forks
9.6k
Avg merge
3d 17h
Merged PRs (30d)
29

Description

Apologies if this is not the proper place for this question: is it possible to implement a fourth setting that would mean "present a warning dialog when closing multiple tabs/panes at once AND at least one background tab is in Running State"?

_Originally posted by @Hlsgs in https://github.com/microsoft/terminal/issues/20055#issuecomment-4184928119_

Moved this over here. Honestly, I think this should just be its own warning toggle:
`warning.closeRunningTab`: `true|false`

That way, if you're _ever_ closing a tab that's running (or if you close multiple tabs at once, and one of them is running), you'll get the dialog.

I'm sure there's other states we'd be interested in this scenario (i.e. progress, etc).

Similar to #6549

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.