Skip to content

fix(tui): confirm Stop with Enter so y can never stop a session - #60

Merged
vishr merged 1 commit into
mainfrom
fix/tui-stop-confirm
Oct 24, 2026
Merged

vishr merged 1 commit into
mainfrom
fix/tui-stop-confirm

Conversation

@vishr

@vishr vishr commented Oct 24, 2026

Copy link
Copy Markdown
Member

Found by the UI/UX review: in Flow, K armed a stop that the next y confirmed, and y is also the key that allows a permission prompt (internal/tui/board.go). A user answering prompts could stop a session while meaning "allow".

  • K now shows Stop "<title>"? Enter stop · any other key cancels; only Enter confirms.
  • y/n cancel a pending stop and remain prompt answers only.
  • Help text says K Stop, then Enter.
  • TestBoardStopNeedsConfirmation checks that both y and n cancel and only Enter stops.

just check passes.

https://claude.ai/code/session_01T2vtcW6ihn1ywy9vxUq9a4

In Flow, K armed a stop that the next y confirmed. y is also the key that
allows a permission prompt, so a user who pressed K by mistake, or who was
answering prompts, could stop a session while meaning "allow".

K now asks "Stop "<title>"? Enter stop · any other key cancels". Only Enter
confirms; y and n cancel the stop and stay prompt answers only.

Claude-Session: https://claude.ai/code/session_01T2vtcW6ihn1ywy9vxUq9a4
@vishr
vishr merged commit 08053b7 into main Oct 24, 2026
4 checks passed
@vishr
vishr deleted the fix/tui-stop-confirm branch October 24, 2026 17:05
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