News for hackers. Stuff that matters.
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.