Skip to content

[Bug]: Escape characters "[O[I" fill input when switching Zellij tabs #60

@dsemke

Description

@dsemke

What happened?

When running Auggie inside a Zellij terminal multiplexer session, switching tabs causes escape characters to appear in the Auggie TUI input field. The input gets filled with sequences like [O[I[O[I.

What did you expect to happen?

Switching Zellij tabs should not insert any characters into the Auggie input field. Focus change escape sequences should be handled/ignored by the TUI.

Steps to reproduce

  1. Start a Zellij session
  2. In one tab, run auggie
  3. Switch to another Zellij tab (e.g., Ctrl+T then arrow keys, or however tabs are bound)
  4. Switch back to the Auggie tab
  5. Observe: the input field now contains [O[I or similar escape sequences

Auggie version

0.12.0 (commit caae5f40)

Request ID

c68ad756-008a-4fc8-95ed-4fc5f4f1cc46

Environment details

  • OS: macOS Darwin 25.1.0 (arm64)
  • Shell: /bin/zsh
  • Node.js: v25.2.1
  • npm: 11.6.2
  • Terminal multiplexer: Zellij 0.43.1
  • Terminal emulators tested:
    • Terminal.app Version 2.15 (465)
    • iTerm2 Build 3.6.6

Anything else we need to know?

The sequences [O and [I are terminal focus reporting escape sequences (focus lost / focus gained). Zellij sends these when focus reporting is enabled. The Auggie TUI appears to not be filtering these sequences and is instead inserting them as literal text.

Bug observed in both terminal emulators tested.

Metadata

Metadata

Assignees

No one assigned

    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