-
Notifications
You must be signed in to change notification settings - Fork 13.2k
Closed
Description
Description
When running a non-terminating process (like a web server) within the TUI, the interface becomes unresponsive to normal input. The ESC key, which should interrupt the process, has no effect even when pressed repeatedly.
Current Behavior
- The TUI freezes when a non-terminating process is started
- Pressing ESC repeatedly does nothing to regain control
- Slash commands still function properly (e.g.,
/detailstoggles the details view,/modelslists available models) - The only way to regain control is to kill the process from another terminal
Steps to Reproduce
- Start opencode
- Run a non-terminating process (e.g., a web server on port 5173)
- Try to interrupt using ESC key - observe that it has no effect
- Open a second terminal
- Run
lsof -i :5173to find the PID of the server process - Execute
kill $pidto terminate the process - Observe that opencode resumes normal operation
Expected Behavior
The ESC key (or another designated key combination) should interrupt the running process and return control to the TUI without requiring external intervention.
Screenshots
Before killing the process:
After killing the process:
Environment
- OS: ubuntu
- Version: 0.1.189
- Terminal: VSCode integrated terminal
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels

