Skip to content

Improve interactive worktree delete selection#102

Merged
nettee merged 4 commits into
mainfrom
fix/delete-selection-context
Jul 8, 2026
Merged

Improve interactive worktree delete selection#102
nettee merged 4 commits into
mainfrom
fix/delete-selection-context

Conversation

@nettee

@nettee nettee commented Jul 8, 2026

Copy link
Copy Markdown
Owner

Summary

  • replace the delete checkbox prompt with an integrated table selector using arrow keys, Space, Enter, Esc, and Ctrl-C handling
  • show all worktrees inline with dirty/updated/state/head context and non-deletable reasons
  • prevent deleting main worktrees and main-branch worktrees; sort delete rows oldest-updated first

Tests

  • cargo fmt --check
  • cargo test
  • uv run --project e2e pytest e2e/test_interactive_delete.py

@nettee
nettee merged commit e580e69 into main Jul 8, 2026
2 checks passed
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