On Thu Feb 13 16:12:32 2025 +0000, Joe Souza wrote:
I don't understand much of this. The variable added to propagate the event is a local variable in a single function only, as an optimization to prevent calling WCMD_is_command_aborted() multiple times.
Thinking more about this, I think what you're saying here is to remove the WCMD_is_command_aborted function and replace it with a WCMD_ctrl_c_status function, and to also propagate the proper error code up the stack. OK, will look into that.