stablyai / stablyai/orca

[Bug][Terminal] Intermittent Cmd+C on selected Codex scrollback jumps Orca terminal to bottom

Open
#17,606 2 comments 0 reactions 1 assignee Claimed by @nwparker View on GitHub
Dominant language
TypeScript
Stars
71.3k
Forks
4.7k
Avg merge
17h 8m
Merged PRs (30d)
475

Description

## Operating system

macOS

## Orca version

1.4.192

## Codex version

codex-cli 0.151.0

## Details

### Summary

When using Codex in Orca, copying selected text from earlier terminal scrollback intermittently jumps the embedded terminal viewport to the bottom input area.

### Steps to reproduce

1. Open a Codex session in Orca.
2. Generate enough output to create terminal scrollback.
3. Scroll up to older output.
4. Select some text.
5. Press `Cmd+C` to copy.
6. Repeat the copy attempt if the first attempt does not trigger the issue.

### Expected behavior

The selected text is copied and the current scroll position remains unchanged.

### Actual behavior

The issue is intermittent. Sometimes the first `Cmd+C` triggers it, and sometimes the second `Cmd+C` triggers it. When it occurs, the terminal viewport jumps to the bottom input area. The selected text may still be copied successfully.

### Reproduction and controls

- English input source also reproduces; Korean 2-set input is not required.
- The same Codex session works normally in iTerm2.
- The same Codex session works normally in Ghostty.
- The issue reproduces only in Orca in this comparison, suggesting it is specific to Orca's embedded terminal integration.

### Additional information

A related Orca issue is #13033, but that report is scoped to Korean 2-set input. This report reproduces with the English input source as well.

The issue does not occur on every copy attempt, so the trigger may depend on terminal focus, selection state, or keyboard event timing.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.