Hacker News new | ask | show | jobs
by abcdef123xyz2 2355 days ago
capture-pane has -p so you can pipe its output rather than letting it create a buffer you have to delete.
1 comments

s/has/now &/

I started using tmux in 2009. There was no -p option when capturep command was first added. Old scripts that keep working tend not to get updated. I have updated it now. Thank you.