hunter
hunter copied to clipboard
Route output of subprocesses through pseudoterminal interface to get correctly sized output and colors
Right now hunter just pipes stdout/stderr to a textview, but this means subprocesses don't know about the terminal size and don't use colors unless forced with flags. This could be improved by plumbing everything through the pseudo-terminal interface.
Additionally it would be nice if it was possible to send input to those subprocesses, turning hunter into a real TUI-shell (proxy).
tmux pipe-pane looks promising. Seems to be able to pipe stdin and stdout/stderr while pretending to run stuff in a terminal.