From d25bdc9f3f3f6547d6c023ed7e192fc5913e9bbc Mon Sep 17 00:00:00 2001 From: Minteck Date: Sun, 3 Jul 2022 14:23:25 +0200 Subject: Initial commit --- .../node_modules/show-terminal-cursor/.npmignore | 1 + .../SDK/node_modules/show-terminal-cursor/index.js | 13 +++++++++++ .../node_modules/show-terminal-cursor/package.json | 27 ++++++++++++++++++++++ .../node_modules/show-terminal-cursor/readme.md | 20 ++++++++++++++++ 4 files changed, 61 insertions(+) create mode 100644 Library/SDK/node_modules/show-terminal-cursor/.npmignore create mode 100644 Library/SDK/node_modules/show-terminal-cursor/index.js create mode 100644 Library/SDK/node_modules/show-terminal-cursor/package.json create mode 100644 Library/SDK/node_modules/show-terminal-cursor/readme.md (limited to 'Library/SDK/node_modules/show-terminal-cursor') diff --git a/Library/SDK/node_modules/show-terminal-cursor/.npmignore b/Library/SDK/node_modules/show-terminal-cursor/.npmignore new file mode 100644 index 0000000..b512c09 --- /dev/null +++ b/Library/SDK/node_modules/show-terminal-cursor/.npmignore @@ -0,0 +1 @@ +node_modules \ No newline at end of file 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; diff --git a/Library/SDK/node_modules/show-terminal-cursor/package.json b/Library/SDK/node_modules/show-terminal-cursor/package.json new file mode 100644 index 0000000..f10d126 --- /dev/null +++ b/Library/SDK/node_modules/show-terminal-cursor/package.json @@ -0,0 +1,27 @@ +{ + "name": "show-terminal-cursor", + "version": "0.0.2", + "description": "Shows the terminal cursor.", + "main": "index.js", + "scripts": { + "test": "mocha test.js" + }, + "repository": "joegesualdo/show-terminal-cursor", + "keywords": [ + "show", + "terminal", + "cursor", + "display" + ], + "author": { + "name": "Joe Gesualdo" + }, + "license": "MIT", + "devDependencies": { + "mocha": "*", + "chai": "*" + }, + "dependencies": { + "control-sequence-introducer": "*" + } +} diff --git a/Library/SDK/node_modules/show-terminal-cursor/readme.md b/Library/SDK/node_modules/show-terminal-cursor/readme.md new file mode 100644 index 0000000..aa23708 --- /dev/null +++ b/Library/SDK/node_modules/show-terminal-cursor/readme.md @@ -0,0 +1,20 @@ +## show-terminal-cursor +> Shows the terminal cursor. + +## Install +``` +$ npm install --save show-terminal-cursor +``` + +## Usage +```javascript +var showCursor = require("show-terminal-cursor"); + +showCursor(); +``` + +## Related +- [hide-terminal-cursor](https://github.com/joegesualdo/hide-terminal-cursor) - Hide the terminal cursor. + +## License +MIT © [Joe Gesualdo]() -- cgit