Live data from Hacker News

Building a TUI is easy now

hatchet.run

261–262 of 262 posts

Re: Building a TUI is easy now

#261

Earlier quoted context omitted.

It's a thing that confuses every single person the first time they touch a terminal! Could do without the diction-based ad hominem.

> It's a thing that confuses every single person the first time they touch a terminal! I get that. But it doesn’t mean those that prefer the terminal have Stockholm Syndrome. The terminal is a UI optimised for keyboard entry. So of course mouse input to move the caret wouldn’t be something that is prioritised to support. Again, that’s not Stockholm Syndrome; it’s just a different workflow. > Could do without the dict…

You're taking the Stockholm syndrome thing way too seriously. I wasn’t trying to imply terminal users are irrational or trapped, I'm just pointing out that some default behaviors are genuinely non-obvious to newcomers and feel rough around the edges at first. That’s more about historical ergonomics than user psychology.

Terminals optimize for keyboard-centric workflows and composability. Once that mental model clicks, a lot of the tradeoffs make sense. But the first-contact confusion is real and pretty universal, which is what I wanted to highlight.

I agree it’s not useful to escalate into meta arguments about tone. Different tools, different workflows, different preferences. The interesting part is how we lower the initial friction without losing the power that keeps people using them decades later.

Which, Ghostty added cl=line support in e06742b36ec9, so we're getting there!

Re: Building a TUI is easy now

#262

Earlier quoted context omitted.

bash readline

Readline is one of the oldest libraries available on modern systems. So old that Charm, the framework featured in this article, is written in a programming language that was decades away from conception back when readline was first released. Comparing modern TUIs to readline is like comparing an analogue rotary phone to a smartphone. Readline is also no longer the default experience for your average new user since ma…

zsh uses zle, but mouse reporting is off by default.
Post reply on HN