Claude Code Flickering in Tmux
I have given yet another chance to LLM-backed tooling. Having Claude Code recommended to me I decided to try it again. I have experimented with it back in May, and things have supposedly changed a lot since then. This post isn't about improvements, quality, annoyances, or anything related to the output of Claude Code, though.
Soon after I started using the tool I have noticed an annoying flicker of the TUI elements. This happened while it was processing. Of course, staying true to my workflow, I ran it inside tmux. A quick check of running Claude Code outside of tmux confirmed that the issue was the combination of the two.
I tried fixing the issue by tweaking some tmux settings, but to no avail. That's when I decided to give claudecode.nvim a go as I wanted to try it out.
Surprisingly, running Claude Code via claudecode.nvim doesn't have the flicker issue. This means that Claude Code running inside a terminal inside Neovim inside tmux solves the issue... huh?
I won't ponder too much on why that's the case and I'll take claudecode.nvim as the solution for the time being.