3 ms·
TUIs are great fun and Claude can make beautiful ones with a little ratatui action super fast. However, the downside of these are that you can't use them with C
by arjie 9mo ago
TUIs are great fun and Claude can make beautiful ones with a little ratatui action super fast. However, the downside of these are that you can't use them with Claude Code so while I have a few I prefer to also have a prompt-response CLI function since that's better for lots of things.
- arcanemachiner 9mo agoNot sure if this satisfies your requirements, but I've gotten Claude Code to run commands in tmux and view their output (including debugging my NeoVim config), so I think that a TUI is at least accessible, even though it would likely bloat the context window far more than a simple CLI.
- SatvikBeri 9mo agoYeah, this is my main way of using Claude Code for anything complex – a REPL or bash window in tmux, and with Claude running commands there. That lets me easily browse through anything that's happened in a UI I'm used to, or manually intervene if needed.
- arjie 9mo agoThat's pretty nice! It's just the context window problem, yes, but the tmux tip is pretty good nonetheless.
- dddgghhbbfblk 9mo agoThe article talks about this and in fact talks about how one of the advantages of the TUI was that by combining it with `tmux capture-pane` it ended up easier for Claude to use and iterate on, not harder.
- dchuk 9mo agoThis works very well for automated testing from Claude code: https://github.com/pproenca/agent-tui https://github.com/pproenca/agent-tui