Rename Kill→Close, add New Terminal palette entry, clean up exited terminals #2

Merged
harry merged 1 commits from worktree-clear-todos into main 2026-05-15 11:36:11 +01:00
Owner

Summary

  • Palette's per-child "Kill " action is now labelled "Close " (same SIGTERM behaviour; just less violent terminology, and consistent with the existing "Close agent: …" context entry).
  • New "New Terminal" palette entry spawns a bare interactive $SHELL pane via LaunchTerminal (kind=terminal). Replaces the default shell process preset that was seeded on first run.
  • Exited KindTerminal entries are now dropped from the session in reapChild — terminals have no restart path, so leaving them behind as greyed rows in the Processes sidebar was just clutter. processList also filters defensively.

Clears the three active items in TODO.md.

Test plan

  • go build ./...
  • go test ./... (incl. harness)
  • go vet ./...
  • Manual smoke: open palette, confirm Close <name> label, New Terminal entry, and that exiting the terminal removes its sidebar row.
## Summary - Palette's per-child "Kill <name>" action is now labelled "Close <name>" (same SIGTERM behaviour; just less violent terminology, and consistent with the existing "Close agent: …" context entry). - New "New Terminal" palette entry spawns a bare interactive `$SHELL` pane via `LaunchTerminal` (kind=terminal). Replaces the default `shell` process preset that was seeded on first run. - Exited `KindTerminal` entries are now dropped from the session in `reapChild` — terminals have no restart path, so leaving them behind as greyed rows in the Processes sidebar was just clutter. `processList` also filters defensively. Clears the three active items in TODO.md. ## Test plan - [x] `go build ./...` - [x] `go test ./...` (incl. harness) - [x] `go vet ./...` - [ ] Manual smoke: open palette, confirm `Close <name>` label, `New Terminal` entry, and that exiting the terminal removes its sidebar row.
harry added 1 commit 2026-05-15 11:35:56 +01:00
- Palette's per-child "Kill <name>" action is now labelled "Close <name>"
  (action kind unchanged; still SIGTERM). Matches the existing "Close
  agent: …" context entry and reads less violent for a graceful term.
- New "New Terminal" palette entry spawns a bare interactive $SHELL pane
  via LaunchTerminal (kind=terminal). Replaces the default "shell"
  process preset that was seeded on first run.
- Exited KindTerminal entries are now dropped from the session in
  reapChild — terminals have no restart path, so leaving them behind as
  greyed rows in the Processes sidebar was just clutter. processList
  also filters defensively.
harry force-pushed worktree-clear-todos from 6ee6f6d867 to 01fc108086 2026-05-15 11:35:56 +01:00 Compare
harry merged commit 01fc108086 into main 2026-05-15 11:36:11 +01:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: harry/patterm#2