summaryrefslogtreecommitdiff
path: root/tools/node_modules/eslint/node_modules/restore-cursor/index.js
blob: 3e8dd07dc3d661af6ec2910debe28d9b615aaa80 (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});
});