Skip to content

terminal send --enter can be swallowed by update-available modal #13805

Description

@eakmanrq

Reproduction

  1. Start an Orca-managed Codex or Claude terminal.
  2. Wait for readiness:
    orca terminal wait --terminal <handle> --for tui-idle --timeout-ms 60000 --json
  3. While the Orca Update available modal is present, submit a prompt:
    orca terminal send --terminal <handle> --text "Follow the instructions in <document>." --enter --json
  4. Inspect the terminal UI or transcript.

The command reports a successful send/accepted byte receipt, but the update-available modal consumes the Enter key. The prompt remains in the agent composer and no instruction-document output appears, so callers cannot distinguish a submitted prompt from bytes that only reached the terminal input path.

Expected behavior

terminal send --enter should either dismiss/handle the modal and submit the prompt, or return a typed receipt indicating that submission did not occur. The receipt should not claim success based only on bytes written when Enter was swallowed.

Workaround

Read the terminal/transcript after the send and, when the exact prompt remains in the composer, issue one bare Enter. Do not paste the full prompt again or redispatch the task.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions