pipeline
pipeline copied to clipboard
show the full output on exit
trafficstars
The original prototype of pipeline captured CTRL-C and showed the full command output on exiting. I think this is a nice touch, it makes it feel a bit more integrated with the parent shell.
I've punted for now because I'm not sure I like any of the options for making this happen.
One option that would avoid having to cache the output anywhere -- add another key combination for exiting pipeline, maybe CTRL-D or something, and have that re-run the command one last time and display the full output while exiting. I wouldn't want to make this the default behavior on CTRL-C, re-running the command in that case feels too surprising I think.