summaryrefslogtreecommitdiff
path: root/Library/SDK/node_modules/show-terminal-cursor
diff options
context:
space:
mode:
authorMinteck <contact@minteck.org>2022-07-03 14:23:25 +0200
committerMinteck <contact@minteck.org>2022-07-03 14:23:25 +0200
commitd25bdc9f3f3f6547d6c023ed7e192fc5913e9bbc (patch)
treea8e538a8e32b66fece6a10c198fe700866d1e233 /Library/SDK/node_modules/show-terminal-cursor
downloadstrawberry-os-d25bdc9f3f3f6547d6c023ed7e192fc5913e9bbc.tar.gz
strawberry-os-d25bdc9f3f3f6547d6c023ed7e192fc5913e9bbc.tar.bz2
strawberry-os-d25bdc9f3f3f6547d6c023ed7e192fc5913e9bbc.zip
Initial commit
Diffstat (limited to 'Library/SDK/node_modules/show-terminal-cursor')
-rw-r--r--Library/SDK/node_modules/show-terminal-cursor/.npmignore1
-rw-r--r--Library/SDK/node_modules/show-terminal-cursor/index.js13
-rw-r--r--Library/SDK/node_modules/show-terminal-cursor/package.json27
-rw-r--r--Library/SDK/node_modules/show-terminal-cursor/readme.md20
4 files changed, 61 insertions, 0 deletions
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]()