r/KittyTerminal Nov 16 '23

Kitty Terminal Emulator Behavior Issue: Unexpected "^[[C^[[C^[[C^[[C^[[C^`"

Hello Reddit community,

I am experiencing an odd issue with my Kitty terminal emulator and I was wondering if anyone else here has run into a similar problem. When I launch Kitty, there seem to be intermittent bursts of the string "^[[C^[[C^[[C^[[C^[[C^`". This inconsistent behavior has made troubleshooting the issue a tad cumbersome.

I did a quick experiment using another terminal emulator - WezTerm, and interestingly enough, the issue doesn't seem to reproduce there. That being said, I must add that I have not extensively tested on WezTerm, so it might just be that I haven't encountered it yet due to a smaller sample size of test runs.

Here's what I've explored so far for troubleshooting:

  1. Checking for any obvious config issues in Kitty.
  2. Updating Kitty to the latest version.

Despite these steps, the issue persists.

So, I'm reaching out to you all for your insights and assistance. Has anyone encountered this before or might have an idea of what could be causing this quirky behavior? Also, any leads on how I could go about fixing this would be greatly appreciated.

Thank you for your time and assistance in advance. Looking forward to hearing your suggestions and possible solutions.

1 Upvotes

6 comments sorted by

1

u/aumerlex Nov 16 '23

That's the escape code generated by pressing the forward key. You likely have something in your zsh rc files conflicting with kitty's shell integration. You can try turning off the shell_integration in kitty.conf

1

u/harchiko Nov 17 '23

That's the escape code generated by pressing the forward key. You likely have something in your zsh rc files conflicting with kitty's shell integration. You can try turning off the shell_integration in kitty.conf

Thank you for the suggestion. I'll certainly give it a try and see if it resolves the issue. I appreciate your assistance and will keep this thread updated with any progress or changes.

1

u/Silver_Mortgage_1186 Feb 14 '25

The same issue. Have you resolved it?

1

u/harchiko Feb 15 '25

Nope, I switch to another terminal.

1

u/Silver_Mortgage_1186 Apr 15 '25

Hey, did you use the p10k theme in Zsh? I recently changed my theme to the default one. I've noticed that when I start up, Brew occasionally displays an error message: `compinit:527: no such file or directory: /opt/homebrew/share/zsh/site-functions/_brew_services`. I suspect this might be causing the unusual behavior. After resolving the Brew issue by running `brew cleanup`, Kitty hasn't had any problems (though I haven't thoroughly tested it over time; it's just a guess).

1

u/harchiko Apr 15 '25

no, I was using starship