source:
trip-planner-front/node_modules/restore-cursor/index.js@
e29cc2e
Last change on this file since e29cc2e was 6a3a178, checked in by , 3 years ago | |
---|---|
|
|
File size: 215 bytes |
Rev | Line | |
---|---|---|
[6a3a178] | 1 | 'use strict'; |
2 | const onetime = require('onetime'); | |
3 | const signalExit = require('signal-exit'); | |
4 | ||
5 | module.exports = onetime(() => { | |
6 | signalExit(() => { | |
7 | process.stderr.write('\u001B[?25h'); | |
8 | }, {alwaysLast: true}); | |
9 | }); |
Note:
See TracBrowser
for help on using the repository browser.