Skip to content

Codex exit leaks Ctrl+Tab CSI-u input into a Herdr pane #2296

Description

@ucalyptus

Is this a reproducible bug?

  • I confirm this is a reproducible bug, not a feature request, idea, question, contribution proposal, or direction check.
  • I reproduced this bug on the version and environment reported below using the exact steps provided.

Current behavior

After exiting codex in a Herdr pane, pressing Ctrl+Tab at the returned zsh prompt prints the raw fragment 9;5:1u. The same Codex exit in a normal zsh terminal does not leave this fragment.

Expected behavior

Exiting Codex should restore normal keyboard handling in the Herdr pane. Ctrl+Tab should not be delivered to zsh as a raw escape sequence.

Reproduction

  1. Start Herdr and open a zsh pane.
  2. Run codex.
  3. Exit Codex.
  4. Press Ctrl+Tab at the pane zsh prompt.
  5. Observe 9;5:1u rendered as text.

Impact

A normal keyboard shortcut becomes literal input after each Codex session, so the pane must be manually reset before continuing shell work.

Environment

  • Herdr version: 0.7.5
  • Update channel: stable
  • Operating system: macOS 26.5.2 (25F84)
  • Terminal: Herdr local pane
  • Shell, if relevant: zsh
  • Relevant config, if any: default Herdr config (only onboarding = false)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions