logoalt Hacker News

krzykyesterday at 11:17 AM6 repliesview on HN

Yes, but GUIs are by default mouse driven, very rarely one can see a keyboard driven one (I haven't seen any).

And TUIs are only keyboard driven. So the choice for speed if you don't need graphics is always - TUI (or CLI).


Replies

regularfryyesterday at 12:23 PM

> very rarely one can see a keyboard driven one

Not so. GUIs absolutely should be keyboard-drivable, if they're written to the human interface specs of whichever platform they're hosted on. That doesn't mean they don't support being mouse-driven or even that mouse isn't the default, but in my experience if the developer has taken any sort of care with the interface then keyboard interaction will be at least as good, if not better, with the keyboard.

> And TUIs are only keyboard driven.

Not true either. There's a line in my .vimrc saying "set mouse-=a" specifically because I want to turn off the mouse in that particular TUI app. If a TUI app doesn't support the mouse they've just not added that support, it's not that it's not possible.

vidarhyesterday at 11:39 AM

> And TUIs are only keyboard driven.

Plenty of TUIs support mouse to various extents too. Claude Code is an obvious example (try the scroll wheel for example).

I agree with you that TUIs are keyboard driven first though - and so you can be certain it will work well.

graemepyesterday at 3:12 PM

A lot of GUIs can be muse driven.

The problem is discoverability. You need to go out of your way to learn shortcuts.

JodieBenitezyesterday at 12:52 PM

> And TUIs are only keyboard driven

Absolutely not.

cpachyesterday at 11:40 AM

Emacs is primarily keyboard driven.

show 1 reply
singpolyma3yesterday at 12:20 PM

A TUI is a GUI.