core/command: improve dead instance selection

Prints dead instances if they exist, as well as allowing dead instance
selection for a substring if no live instances exist.
This commit is contained in:
outfoxxed 2025-07-02 22:47:19 -07:00
parent 86591f122d
commit 0e6518a706
No known key found for this signature in database
GPG key ID: 4C88A185FB89301E
8 changed files with 86 additions and 24 deletions

View file

@ -61,6 +61,7 @@ struct CommandState {
QStringOption id;
pid_t pid = -1; // NOLINT (include)
bool all = false;
bool includeDead = false;
} instance;
struct {