4 ms·
Next level: Make it a wrapper `spacers ... cmd ...`. This way you can allocate PTY, and make the app believe it is still talking to the terminal and the use col
by dpc_01234 2y ago
Next level: Make it a wrapper `spacers ... cmd ...`. This way you can allocate PTY, and make the app believe it is still talking to the terminal and the use colors and alter its output in more fancy ways.
BTW. Somewhat similiar (better sometimes) result can be achieved simply with:
(echo "first"; sleep 1; echo "second"; sleep 0.5; echo "third") | ts -i "%.S"
00.000004 first
00.987787 second
00.501363 third