logoalt Hacker News

alehlopehyesterday at 12:57 AM1 replyview on HN

I tell Claude code to use an existing tmux session to interact with eg a rails console, and it uses tmux send-keys and capture-pane for IO. It gets tripped up if a pager is invoked, but otherwise it works pretty well. Didn’t occur to me to tell it to take screenshots.


Replies

tptacekyesterday at 1:00 AM

`tmux capture-pane`.