Remix.run Logo
arjie 9 hours 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 9 hours ago | parent | next [-]

Not 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 9 hours ago | parent | next [-]

Yeah, 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 9 hours ago | parent | prev [-]

That's pretty nice! It's just the context window problem, yes, but the tmux tip is pretty good nonetheless.

dddgghhbbfblk 9 hours ago | parent | prev [-]

The 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.