Re:You might not need tmux
by anuramat on Friday August 01, 2025 @09:48AM
(#44756796)
"tmux capture-pane" strips escape sequences that break the terminal and sets all the right variables; try using expect with e.g. neovim
[ Parent
| on HN ]
You right, it's pseudo terminal needed. The module pty of python can do this
maybe I'm biased, but python feels like endless boilerplate for unixy stuff
also I'm mostly using it to prepare an interactive environment anyway, so I don't see alternatives for my usecase (maybe zellij, but they don't even support sending keystrokes to a specific pane)
I did use a shell script and script(1) to automate vi. Don't see the issue?