Skip to content

Conversation

@ibetitsmike
Copy link
Contributor

Fixes a UX bug where pressing Escape inside Settings (and other modals) could cancel an active stream.

Implementation:

  • Handle the stream-interrupt keybind in bubble phase so modal/popup Escape handlers can stop propagation.
  • Added a small unit test for the hook.

Generated with mux • Model: openai:gpt-5.2 • Thinking: xhigh • Cost: $unknown

Move stream-interrupt keybind handling to bubble phase so modal/popup Escape handlers can stopPropagation() without cancelling an active stream.

Added a small hook test to guard against regressions.

---
_Generated with `mux` • Model: `openai:gpt-5.2` • Thinking: `xhigh` • Cost: `$unknown`_
@ibetitsmike ibetitsmike added this pull request to the merge queue Jan 14, 2026
Merged via the queue into main with commit 6471441 Jan 14, 2026
22 checks passed
@ibetitsmike ibetitsmike deleted the mike/fix-esc-settings-interrupt branch January 14, 2026 07:25
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