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
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.
Another 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.
I see now that I not should need to use trim -1, the last line should always be the one that show up?