quaint-telephone-89068
01/30/2023, 6:43 PMpants --loop ... I ~almost end it with <ctrl>+<c> when done/want to break out to the shell. Now pants always exits with a non-zero exit code in these cases, making my history buffer for the looped invocation red--flagging it as failed.
Describe the solution you'd like
I'd like the exit code from <ctrl>+<c> to reflect the exit code of the last completed goal, unless there's a goal currently running, in which case a non-zero exit code would be OK as I'm breaking it in the middle of the run so it didn't finish.
Describe alternatives you've considered
To live with it ;)
Additional context
I'm trying out the https://warp.dev terminal, and it's very good at highlighting failed commands.
image▾