console-control-strings
Advanced tools
Comparing version 1.0.0 to 1.1.0
@@ -52,2 +52,6 @@ 'use strict' | ||
exports.beep = function () { | ||
return '\x07' | ||
} | ||
exports.hideCursor = function hideCursor () { | ||
@@ -54,0 +58,0 @@ return prefix + '?25l' |
{ | ||
"name": "console-control-strings", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"description": "A library of cross-platform tested terminal/console command strings for doing things like color and cursor positioning. This is a subset of both ansi and vt100. All control codes included work on both Windows & Unix-like OSes, except where noted.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -74,2 +74,7 @@ # Console Control Strings | ||
### var code = consoleControl.beep() | ||
Returns the escape sequence to cause the termianl to beep. (That is, it | ||
returns unicode character `\x0007`, a Control-G.) | ||
### var code = consoleControl.hideCursor() | ||
@@ -76,0 +81,0 @@ |
12669
5
104
146