Pressing Ctrl+C to interrupt the progress bar should cause it to exit with a failure-indicating error code. Currently, it exits with error code 0.
The problem is if you use it in an infinite while true bash loop, pressing Ctrl+C should just kill the loop, but instead it continues onto the next command because it's still waiting.
Thanks for making this tool! I love its inline mode as a drop-in replacement for sleep.
Pressing Ctrl+C to interrupt the progress bar should cause it to exit with a failure-indicating error code. Currently, it exits with error code 0.
The problem is if you use it in an infinite
while truebash loop, pressing Ctrl+C should just kill the loop, but instead it continues onto the next command because it's still waiting.Thanks for making this tool! I love its inline mode as a drop-in replacement for
sleep.