Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions bin/expresso
Original file line number Diff line number Diff line change
Expand Up @@ -1040,14 +1040,14 @@ process.on('uncaughtException', function(err) {
}
});

// Show cursor

['INT', 'TERM', 'QUIT'].forEach(function(sig) {
process.on('SIG' + sig, function() {
cursor(true);
process.exit(1);
// Show cursor - for nonwindows
if (process.platform.substr(0,3) !== 'win')
['INT', 'TERM', 'QUIT'].forEach(function(sig) {
process.on('SIG' + sig, function() {
cursor(true);
process.exit(1);
});
});
});

// Report test coverage when available
// and emit "beforeExit" event to perform
Expand Down