(code)
| 61 | } |
| 62 | |
| 63 | function isWindowsNativeCrashCode(code) { |
| 64 | const unsignedCode = getUnsignedExitCode(code) |
| 65 | return ( |
| 66 | process.platform === 'win32' && |
| 67 | (unsignedCode === 0xC000001D || |
| 68 | unsignedCode === 0xC0000005 || |
| 69 | unsignedCode === 0xC0000409) |
| 70 | ) |
| 71 | } |
| 72 | |
| 73 | function shouldExitAlternateScreen(code, signal) { |
| 74 | return Boolean(signal) || isWindowsNativeCrashCode(code) |
no test coverage detected