summaryrefslogtreecommitdiff
path: root/tools/node_modules/eslint/node_modules/restore-cursor/index.js
blob: 2b8e009883cb9bc1c65022fffe05b311513ef2e0 (plain)
1
2
3
4
5
6
7
8
9
'use strict';
const onetime = require('onetime');
const signalExit = require('signal-exit');

module.exports = onetime(() => {
	signalExit(() => {
		process.stderr.write('\u001b[?25h');
	}, {alwaysLast: true});
});