4 ms·
I don't think that's true, because it appears to me that the upswing in new TUI programs predates Claude Code's takeoff.
by _jackdk_ 5mo ago
I don't think that's true, because it appears to me that the upswing in new TUI programs predates Claude Code's takeoff.
- criley2 5mo agoClaude Code uses Ink, a react library in javascript for UI. The upswing is probably stuff like this making it super easy to write a TUI.
- _jackdk_ 5mo agoWhat a fascinating modern age we live in.
- deleted 5mo ago[deleted]
- deleted 5mo ago[deleted]
- rahen 5mo agoInk is the Electron of text-based apps. I tried OpenCode out of curiosity, it routinely used hundreds of megabytes of memory. I'll stick with Emacs as my TUI platform of choice, especially for tool-assisted development.
- heavyset_go 5mo agoThis is the case. The advent of libraries like Rich and others certainly helped, along with the trend of Rust TUIs for system programming/lack of good GUI options.
- lucumo 5mo agoBetter terminal emulators probably played a role too. In particular the newish Windows Terminal. The older cmd.exe console only supported Windows Console API. WinTerm has full VT and ANSI support, much better font rendering, and less importantly, mouse support and Sixel support. This makes it much easier to build cross-platform TUIs. It used to be a chore, now it's probably easier than most GUI frameworks. (Possibly with the exception of Electron, but that comes with a different set of trade-offs.)
- Sindisil 5mo agoYes, and in fact even Windows conhost hast supported ANSI escapes since 2016.
- gschizas 5mo ago> The older cmd.exe console You are confusing cmd.exe with conhost.exe The console is conhost.exe. Conhost (Console Host) is the same kind of program as Windows Terminal, iTerm2, Konsole, Ghostty or Linux Console (the console that Linux uses on text mode) The shell is cmd.exe (Command Prompt). This is the same kind of program as PowerShell (powershell.exe or the cross platform pwsh.exe), bash, zsh, fish etc. It's also similar to any TUI program such as Far Manager, mc (Midnight Commander), lazygit etc.
- saidnooneever 5mo agorust community likes tui ever since Ratatui and some other packages are making it easier than for example ncurses or notcurses etc. - i think Ratatui package is one big propellor for tui use and creation nowadays from slightly before claude code etc.