[BUG] Strange characters appear on switching focus out & into the Terminal window

Resolved 💬 2 comments Opened Oct 31, 2025 by zeenix Closed Oct 31, 2025

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

I'm using Claude Code inside Ptyxis on GNOME+Fedora. Since a week or so, each time I switch to another window, Claude Code inserts [O[O to the input field and when I switch back, it inserts [I[I into it. It's extremely annoying and I have to keep deleting all that manually.

What Should Happen?

Claude Code shouldn't insert any characters into the input field.

Error Messages/Logs

There is no error.

Steps to Reproduce

Just run Claude Code in Ptyxis and then switch away from the terminal window and then back in again.

Claude Model

Sonnet (default)

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.0.30 (Claude Code)

Platform

Anthropic API

Operating System

Other Linux

Terminal/Shell

Other

Additional Information

_No response_

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗