eric pouech (@epo) commented about programs/cmd/wcmdmain.c:
return return_code;
}
+BOOL WCMD_is_command_aborted(void) +{
- return (WAIT_OBJECT_0 == WaitForSingleObject(control_c_event, 0));
+}
static BOOL WINAPI my_event_handler(DWORD ctrl) { WCMD_output(L"\n");
- if (ctrl == CTRL_C_EVENT) {
please keep the surrounding style (open curly bracket should be on next line)