Monday, 20 May 2013

tmux window last line to statusbar

tmux window last line to statusbar

I am running an update-script within tmux, and just to see that the progress is ticking on I would like to see the output from the last line within tmux statusbar.
My idea is to use something that trigger the find function and then pipe it with trim -1 Of course I know that I could pipe the output to a file and then use that output. The problem is just that the process is already started, and is supposed continue for a few weeks until it's done.
Anther Idea I just got. Is it possible to have one window as a part of the statusbar.? If so, then instead of use the actual window I would prefer to clone the original-window,in case I mess things up and accidental destroy it, the cloned window will not be affected.
Oh - I see now that I not should need to use trim -1, the last line should always be the one that show up.?

No comments:

Post a Comment