tmux-plugins / tmux-logging

Easy logging and screen capturing for Tmux.
MIT License
1.05k stars 114 forks source link

Only log output of last command #42

Open dufferzafar opened 4 years ago

dufferzafar commented 4 years ago

Do we have a way to only log the output of the last command (which pay go beyond what's currently visible on the screen)?

I guess this would require parsing the scrollaback buffer? Which will require knowing how the prompt looks like!?

Or is there any other way we could do it?