[Bug] Terminal text selection becomes offset after resizing the Codex app UI

Open 💬 1 comment Opened Jun 8, 2026 by ghost

What version of the Codex App are you using (From “About Codex” dialog)?

Version 26.602.40724 • Released Jun 5, 2026

What subscription do you have?

Pro

What platform is your computer?

Darwin 24.6.0 arm64 arm

What issue are you seeing?

In the Codex desktop app terminal, text selection becomes visually and functionally misaligned after the terminal pane is resized. After resizing, dragging the mouse over one region selects a different region of terminal text, as if the terminal is using stale cell or viewport geometry.

This appears to be a resize-related terminal rendering/selection sync bug rather than a general text selection bug.

What steps can reproduce the bug?

  1. Open the Codex desktop app.
  2. Open or focus a terminal with enough output to make line positions easy to verify.
  3. Confirm that normal text selection works before resizing.
  4. Resize the terminal UI region by dragging a pane boundary, toggling a sidebar, or otherwise changing the terminal viewport size.
  5. Try selecting text again in the resized terminal.

What is the expected behavior?

After the terminal UI is resized, text selection should remain aligned with the rendered terminal cells. Mouse drag position, visible highlight, and copied text should all refer to the same text region.

Additional information

_No response_

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗