diff options
Diffstat (limited to 'Library/SDK/node_modules/hide-terminal-cursor/index.js')
-rw-r--r-- | Library/SDK/node_modules/hide-terminal-cursor/index.js | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Library/SDK/node_modules/hide-terminal-cursor/index.js b/Library/SDK/node_modules/hide-terminal-cursor/index.js new file mode 100644 index 0000000..dd37dcb --- /dev/null +++ b/Library/SDK/node_modules/hide-terminal-cursor/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var csi = require("control-sequence-introducer") + +function hideCursorString() { + return csi + "?25l" +} + +function hideCursor() { + process.stdout.write(hideCursorString()) +} + +module.exports = hideCursor; |