From d25bdc9f3f3f6547d6c023ed7e192fc5913e9bbc Mon Sep 17 00:00:00 2001 From: Minteck Date: Sun, 3 Jul 2022 14:23:25 +0200 Subject: Initial commit --- Library/SDK/node_modules/show-terminal-cursor/index.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Library/SDK/node_modules/show-terminal-cursor/index.js (limited to 'Library/SDK/node_modules/show-terminal-cursor/index.js') diff --git a/Library/SDK/node_modules/show-terminal-cursor/index.js b/Library/SDK/node_modules/show-terminal-cursor/index.js new file mode 100644 index 0000000..0e84c05 --- /dev/null +++ b/Library/SDK/node_modules/show-terminal-cursor/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var csi = require("control-sequence-introducer"); + +function showCursorString() { + return csi + "?25h"; +} + +function showCursor() { + process.stdout.write(showCursorString()) +} + +module.exports = showCursor; -- cgit