News for hackers. Stuff that matters.
Re:Claude Chill: Fix Claude Code's Flickering in Terminal by prodigycorp on Tuesday January 20, 2026 @08:18PM (#46700008)
I have not used Claude Code in a couple months. THEY HAVEN’T FIXED THIS YET?

I’m starting to think that the reason why anthropic doesn’t open source Claude code isn’t due to competitive reasons, it’s because they don’t want people to see what a mess their code base is.

Maybe they bought Bun to increase the rate of flickering so that the text looks solid again

Re:Claude Chill: Fix Claude Code's Flickering in Terminal by xcodevn on Tuesday January 20, 2026 @10:16PM (#46700710)
I have a hypothesis: they haven't fixed this because they're using Claude Code to develop Claude Code. I'm a fan of Claude Code, but it isn't good enough to fix tricky issues like this. And because no one looks at the codebase themselves, they haven't been able to fix it after many months. Sometimes, all we need is an engineer to sit down for the weekend and fix the damn bug, not spin up 9 different Claude Agents prompted to fix itself.
Re:Claude Chill: Fix Claude Code's Flickering in Terminal by profunctor on Thursday January 22, 2026 @10:40AM (#46720694)
Perhaps the engineer could sit down for 8 hours a day during the work week. The Silicon Valley obsession with having no life and working weekends is so endemic.
Re:Claude Chill: Fix Claude Code's Flickering in Terminal by EMM_386 on Tuesday January 20, 2026 @08:43PM (#46700179)
The problem is they are using the Ink library which clears and redraws for each update.

https://github.com/anthropics/claude-code/issues/769

I locally patched the closed-source CLI npm package but it's not perfect. They would have to switch how their TUI is rendered on their side.

Apparently OpenAI Codex is rust+ratatui which does not have this issue.

Re:Claude Chill: Fix Claude Code's Flickering in Terminal by thomasahle on Tuesday January 20, 2026 @09:00PM (#46700290)
I'm always surprised that Python doesn't have as good TUI libraries as Javascript or Rust. With the amount of CLI tooling written in Python, you'd think it had better libraries than any other language.
Re:Claude Chill: Fix Claude Code's Flickering in Terminal by wonger_ on Tuesday January 20, 2026 @09:54PM (#46700592)
Blessed was a decent one iirc:

https://github.com/jquast/blessed

One reason for the lack of python might be the timing of the TUI renaissance, which I think happened (is happening?) alongside the rise of languages like Go and Rust.

Re:Claude Chill: Fix Claude Code's Flickering in Terminal by acdha on Tuesday January 20, 2026 @09:35PM (#46700493)
Textual looks really nice, but I usually make web apps so I haven’t tried it for anything serious:

https://textual.textualize.io/

Re:Claude Chill: Fix Claude Code's Flickering in Terminal by sibeliuss on Tuesday January 20, 2026 @10:57PM (#46700910)
Textual is A++. Feels a bit less snappy than Ink, but it makes up in all things with its immense feature-set. Seriously fun building apps of all kinds with this lib.
Re:Claude Chill: Fix Claude Code's Flickering in Terminal by thomasahle on Wednesday January 21, 2026 @10:42PM (#46715024)
Textual is cook, but it's maintained by a single guy, and the roadmap hasn't been updated since 2023, https://textual.textualize.io/roadmap/
Re:Claude Chill: Fix Claude Code's Flickering in Terminal by behnamoh on Tuesday January 20, 2026 @09:02PM (#46700302)
it has, but python being single threaded (until recently) didn't make it an attractive choice for CLI tools.

example: `ranger` is written in python and it's freaking slow. in comparison, `yazi` (Rust) has been a breeze.

Edit: Sorry, I meant GIL, not single thread.

Re:Claude Chill: Fix Claude Code's Flickering in Terminal by ashirviskas on Tuesday January 20, 2026 @09:15PM (#46700370)
> it has, but python being single threaded (until recently) didn't make it an attractive choice for CLI tools.

You probably mean GIL, as python has supported multi threading for like 20 years.

Idk if ranger is slow because it is written in python. Probably it is the specific implementation.

Re:Claude Chill: Fix Claude Code's Flickering in Terminal by behnamoh on Tuesday January 20, 2026 @10:48PM (#46700858)
Even my CC status line script enjoyed a 20x speed improvement when I rewrote it from python to rust.
Re:Claude Chill: Fix Claude Code's Flickering in Terminal by foltik on Wednesday January 21, 2026 @12:12AM (#46701389)
It’s surprising how quickly the bottleneck starts to become python itself in any nontrivial application, unless you’re very careful to write a thin layer that mostly shells out to C modules.
Re:Claude Chill: Fix Claude Code's Flickering in Terminal by embedding-shape on Wednesday January 21, 2026 @04:12AM (#46703036)
> You probably mean GIL

They also probably mean TUIs, as CLIs don't do the whole "Draw every X" thing (and usually aren't interactive), that's basically what sets them apart from CLIs.

Re:Claude Chill: Fix Claude Code's Flickering in Terminal by blks on Wednesday January 21, 2026 @05:55AM (#46703811)
I’m using Textual for my TUI needs, it’s very decent.
Re:Claude Chill: Fix Claude Code's Flickering in Terminal by jschlatter on Tuesday January 20, 2026 @09:15PM (#46700368)
They started with Ink but have since switched to their own renderer:

> We originally built Claude Code on Ink, a React renderer for the terminal. [...] Over the past few months, we've rewritten our rendering system from scratch (while still using React).

https://github.com/anthropics/claude-code/issues/769#issueco...

Re:Claude Chill: Fix Claude Code's Flickering in Terminal by cududa on Tuesday January 20, 2026 @09:17PM (#46700383)
Thanks for sharing. Very … interesting. Just trying to understand why the heck would React be the best tool here?
Re:Claude Chill: Fix Claude Code's Flickering in Terminal by zlumer on Tuesday January 20, 2026 @10:12PM (#46700680)
React is just an abstraction of a State -> View function.

While not universally applicable, it's very convenient during development to focus on State without thinking about View, or focus on View without thinking about State.

The concept itself has nothing to do with the actual renderer: HTML, TUI, or whatever. You can render your state to a text file if you want to.

So the flickering is caused either by a faulty renderer, or by using a render target (terminal) that is incompatible with the UI behavior (frequent partial re-renders, outputting a lot of text etc.)

Re:Claude Chill: Fix Claude Code's Flickering in Terminal by anematode on Tuesday January 20, 2026 @09:28PM (#46700455)
I genuinely thought this was satire until I looked it up. I guess it's just to make us webdevs feel at home in the Terminal (ooh, spooky!)
Re:Claude Chill: Fix Claude Code's Flickering in Terminal by Atotalnoob on Tuesday January 20, 2026 @10:58PM (#46700913)
React separates into layers.

Any web react project out there will install react AND react-dom, which is the son implementation of react.

It’s how react translates into mobile, web, etc so well.

It defines contracts and packages like react-dom handle th specific implementation.

Re:Claude Chill: Fix Claude Code's Flickering in Terminal by catlifeonmars on Wednesday January 21, 2026 @01:09AM (#46701747)
Building a react renderer has long been on my wish list of weekend (>1 weekend most likely) projects.
Re:Claude Chill: Fix Claude Code's Flickering in Terminal by rvz on Tuesday January 20, 2026 @09:32PM (#46700479)
Thats the problem. Some developers want to avoid learning another programming language and use one for everything (including their technologies.)

Using TS, React here doesn’t make sense for stability in the long term. As you can see, even when they replaced Ink and built their own, the problem still exists.

There are other alternatives that are better than whatever Anthropic did such as Bubbletea (Go) or Ratatui (Rust) which both are better suited for this.

Maybe they were thinking more about job security with TypeScript over technical correctness and a robust implementation architecture and this shows the lack of it.

Re:Claude Chill: Fix Claude Code's Flickering in Terminal by catlifeonmars on Wednesday January 21, 2026 @01:11AM (#46701761)
I’m a fan of Bubbletea, but it is significantly less ergonomic than React. Although I’d argue that if that starts to matter significantly, your TUI is probably too cluttered anyway and you should pare it down.
Re:Claude Chill: Fix Claude Code's Flickering in Terminal by guluarte on Tuesday January 20, 2026 @10:41PM (#46700828)
gemini-cli, opencode are also react based
Re:Claude Chill: Fix Claude Code's Flickering in Terminal by esafak on Wednesday January 21, 2026 @01:08AM (#46701740)
Opencode uses SolidJS:

    We moved from the go+bubbletea based TUI which had performance and capability issues to an in-house framework (OpenTUI) written in zig+solidjs
https://opencode.ai/docs/1-0/
Re:Claude Chill: Fix Claude Code's Flickering in Terminal by lifetimerubyist on Tuesday January 20, 2026 @09:44PM (#46700541)
React?!

Good grief get me off this sloppy ride.

Re:Claude Chill: Fix Claude Code's Flickering in Terminal by behnamoh on Tuesday January 20, 2026 @08:44PM (#46700187)
then maybe they should've bought and fixed Ink instead of bun, just saying!
Re:Claude Chill: Fix Claude Code's Flickering in Terminal by reissbaker on Tuesday January 20, 2026 @09:11PM (#46700350)
FWIW, Ink is working on an incremental rendering system: they have a flag to enable it. It's currently pretty buggy though unfortunately. Definitely wish Anthropic would commit some resources back to the project they're built on to help fix it...
Re:Claude Chill: Fix Claude Code's Flickering in Terminal by JamesSwift on Tuesday January 20, 2026 @09:51PM (#46700577)
I think its clear the team is drowning. They are just trying to keep their head above water. They have massive adoption, high churn in the underlying models, and unlimited numbers of github issues opened every day.

Should it be solved by now? Yes. If anyone on the team is dogfooding it in a typical tmux environment, its painful. But lets give them some leeway here.

Re:Claude Chill: Fix Claude Code's Flickering in Terminal by jjayj on Tuesday January 20, 2026 @10:07PM (#46700650)
This is a massive commercial product with a serious issue (everyone knows about the flickering) that hasn't been solved for months now. I don't think leeway is warranted.
Re:Claude Chill: Fix Claude Code's Flickering in Terminal by dymk on Tuesday January 20, 2026 @10:36PM (#46700793)
Nobody is blaming the individual engineers here. The team as a whole can take the blame.
Re:Claude Chill: Fix Claude Code's Flickering in Terminal by guluarte on Tuesday January 20, 2026 @10:46PM (#46700849)
their web chat and app are also filled with bugs
Re:Claude Chill: Fix Claude Code's Flickering in Terminal by JamesSwift on Wednesday January 21, 2026 @10:48PM (#46715073)
100% agree their products have tons of bugs. Im not defending the quality, Im saying I understand the situation.
Re:Claude Chill: Fix Claude Code's Flickering in Terminal by esafak on Wednesday January 21, 2026 @01:11AM (#46701757)
Their GitHub issue tracker is very busy: https://github.com/anthropics/claude-code/pulse
Re:Claude Chill: Fix Claude Code's Flickering in Terminal by catlifeonmars on Wednesday January 21, 2026 @01:14AM (#46701780)
To your point, I’d say the dev team deserves some leeway, but the employer (Anthropic) is raking in the $$$ and doesn’t deserve any sympathy for underfunding the CC team.
Re:Claude Chill: Fix Claude Code's Flickering in Terminal by JamesSwift on Wednesday January 21, 2026 @10:47PM (#46715063)
Do you suggest hiring 1000 extra devs to close the issues? At some point, it doesnt actually scale. Whos to say they havent hit that limit already?
Re:Claude Chill: Fix Claude Code's Flickering in Terminal by catlifeonmars on Thursday January 22, 2026 @04:52AM (#46717159)
Funding doesn’t _necessarily_ mean hiring more devs.

To your point about hiring 1000 devs not solving anything: I agree. For a project of this scope, you’re probably going to peak at one or two 3 person teams with at least one principal dev per team with deep experience in the tech stack and in architecting/building TUIs in general. I would hope their devs are making a relatively lucrative salary too, to attract talent.

I have no idea what the internal structure is so this is just pure speculation: judging by the backlog of issues on their GH, they could use better community management and developer relations. I suspect they’re riding on the existing hype/community interest to fulfill these functions but that only provides a piece of the puzzle.

Re:Claude Chill: Fix Claude Code's Flickering in Terminal by JamesSwift on Thursday January 22, 2026 @10:18AM (#46720356)
> For a project of this scope, you’re probably going to peak at one or two 3 person teams with at least one principal dev per team

I think thats probably 1 team short, but I agree on the order of magnitude. So if we assume 12 devs, how long do we think its going to take to fix 5k github issues lol?

Again, I 100% agree the flicker bug should be at the top of the list. And I agree their products in general are riddled with bugs. But Im just saying I can understand the situation even if I think this specific bug should have been fixed already if they were regularly using a setup that runs into it (which I have to assume they arent).

Re:Claude Chill: Fix Claude Code's Flickering in Terminal by behnamoh on Tuesday January 20, 2026 @08:33PM (#46700110)
> it’s because they don’t want people to see what a mess their code base is.

if Amodei hadn't said "90% of code will be written by AI", at least I wouldn't call them hypocrites, but the fact that the company that makes such wild claims can't fix a freaking flicker and scroll issue until an indie-dev steps in just shows how far behind their product is from their claims.

I have CC and use many models with it (Codex in CC, try it!), but I won't let Anthropic "lecture" us about how "the roots of the problem go deep". Literally no other CLI tool has these issues: opencode, codex, gemini, droid, etc.

Re:Claude Chill: Fix Claude Code's Flickering in Terminal by Xmd5a on Tuesday January 20, 2026 @09:45PM (#46700543)
I observe flickering with gemini-cli every now and then.
Re:Claude Chill: Fix Claude Code's Flickering in Terminal by behnamoh on Tuesday January 20, 2026 @10:48PM (#46700860)
and it messes with tmux status bar for some reason.
Re:Claude Chill: Fix Claude Code's Flickering in Terminal by bottlepalm on Tuesday January 20, 2026 @09:57PM (#46700617)
The joke is that AGI will be achieved when Claude Code can fix the flickering in Claude Code.
Re:Claude Chill: Fix Claude Code's Flickering in Terminal by 0xbadcafebee on Tuesday January 20, 2026 @10:51PM (#46700873)
I wouldn't be able to ship this to anyone without fixing it. Sending 5,000 lines of text to a terminal just to clear them all immediately, and in a loop... i'd be so embarrassed. Apps that clear scrollback have their uses, but you don't spam the terminal with unusable garbage.

And we solved this problem over 30 years ago? Ncurses was made for this. The buffer is kept in memory, you hit page-up and it renders the previous page, page-down and it renders the next page, let it roll and it renders each successive page as a stream, or just the last page, etc.

Re:Claude Chill: Fix Claude Code's Flickering in Terminal by teknologist on Saturday January 24, 2026 @01:36AM (#46741552)
Many users do like to use scrollback to copy large passages of text, which becomes difficult and cumbersome if they have to use page-up page-down to get at the other parts of it.
Re:Claude Chill: Fix Claude Code's Flickering in Terminal by f311a on Tuesday January 20, 2026 @08:28PM (#46700076)
Imagine the amount of slop PRs if it was open source. They don’t want to taste their own medicine
Re:Claude Chill: Fix Claude Code's Flickering in Terminal by prodigycorp on Tuesday January 20, 2026 @08:29PM (#46700080)
Reading their GitHub issues already is like reading through the diary entries of spurned lovers. I can only imagine the PRs.
Re:Claude Chill: Fix Claude Code's Flickering in Terminal by guluarte on Tuesday January 20, 2026 @10:19PM (#46700721)
same, also it uses like 800M of ram... like why?
Re:Claude Chill: Fix Claude Code's Flickering in Terminal by artursapek on Tuesday January 20, 2026 @09:01PM (#46700293)
The biggest strength in OpenAI’s codex vs claude code is that it’s written in Rust and smooth as butter
Re:Claude Chill: Fix Claude Code's Flickering in Terminal by aixpert on Tuesday January 20, 2026 @10:54PM (#46700891)
except when it needs to do tasks then it's the slowest of them all