index.js 215 B

123456789
  1. 'use strict';
  2. const onetime = require('onetime');
  3. const signalExit = require('signal-exit');
  4. module.exports = onetime(() => {
  5. signalExit(() => {
  6. process.stderr.write('\u001B[?25h');
  7. }, {alwaysLast: true});
  8. });