Users cannot exit application via Ctrl-C/Ctrl-D during permission requests #4089

Closed
opened 2026-02-16 17:42:34 -05:00 by yindo · 2 comments
Owner

Originally created by @assagman on GitHub (Jan 2, 2026).

Originally assigned to: @rekram1-node on GitHub.

Description

When the application requests permission from users, they are unable to exit using keyboard shortcuts.

OpenCode version

0.0.0-dev-202601021251

Steps to Reproduce

  1. Make agent request permisson (try read a file outside of the cwd
  2. Hit Ctrl+C, Ctrl-D

Operating System

macOS Tahoe 26.3 arm64

Terminal

ghostty 1.2.3
tmux next-3.5

Expected Behavior

Users should be able to exit the application using Ctrl-C or Ctrl-D during permission requests.

Actual Behavior

Permission requests block the application, preventing exit via Ctrl-C or Ctrl-D.

Reference

This issue is addressed in this PR: https://github.com/sst/opencode/pull/6632

Originally created by @assagman on GitHub (Jan 2, 2026). Originally assigned to: @rekram1-node on GitHub. ## Description When the application requests permission from users, they are unable to exit using keyboard shortcuts. ## OpenCode version 0.0.0-dev-202601021251 ## Steps to Reproduce 1. Make agent request permisson (try read a file outside of the cwd 2. Hit Ctrl+C, Ctrl-D ## Operating System macOS Tahoe 26.3 arm64 ## Terminal ghostty 1.2.3 tmux next-3.5 ## Expected Behavior Users should be able to exit the application using Ctrl-C or Ctrl-D during permission requests. ## Actual Behavior Permission requests block the application, preventing exit via Ctrl-C or Ctrl-D. ## Reference This issue is addressed in this PR: https://github.com/sst/opencode/pull/6632
yindo added the opentui label 2026-02-16 17:42:34 -05:00
yindo closed this issue 2026-02-16 17:42:34 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 2, 2026):

This issue might be a duplicate of existing issues. Please check:

  • #6616: UI becomes unresponsive when tool permission dialog appears
  • #5820: Autocomplete dropdown conflicts with permission dialog - visual overlap and keyboard event capture
  • #3455: Make permissions dialog non-blocking and add modifier key shortcuts

These issues all relate to permission requests blocking user input and interactions.

For keybind-related issues, please also check our pinned keybinds documentation: #4997

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Jan 2, 2026): This issue might be a duplicate of existing issues. Please check: - #6616: UI becomes unresponsive when tool permission dialog appears - #5820: Autocomplete dropdown conflicts with permission dialog - visual overlap and keyboard event capture - #3455: Make permissions dialog non-blocking and add modifier key shortcuts These issues all relate to permission requests blocking user input and interactions. For keybind-related issues, please also check our pinned keybinds documentation: #4997 Feel free to ignore if none of these address your specific case.
Author
Owner
@assagman commented on GitHub (Jan 3, 2026): https://github.com/anomalyco/opencode/pull/6632#issuecomment-3706906135
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#4089