Skip to content

Add explicit kill-all choices for duplicate processes#1

Open
harshdevgoyal wants to merge 1 commit into
mainfrom
feature/interactive-kill-all-rows
Open

Add explicit kill-all choices for duplicate processes#1
harshdevgoyal wants to merge 1 commit into
mainfrom
feature/interactive-kill-all-rows

Conversation

@harshdevgoyal
Copy link
Copy Markdown
Owner

Adds an explicit bulk choice for duplicate process names in interactive mode while preserving the existing individual process rows.

This keeps the default Enter behavior safe: selecting a normal process row still targets only that PID. When multiple visible processes share a name, the list now also includes a Kill all N <name> processes row after the last matching process entry.

The existing kill sequence already accepts an array of PIDs, so the change only adjusts choice generation.

Related to sindresorhus#6

Tests:

  • npm test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant