diff options
Diffstat (limited to 'node_modules/ansi-escapes/readme.md')
-rw-r--r-- | node_modules/ansi-escapes/readme.md | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/node_modules/ansi-escapes/readme.md b/node_modules/ansi-escapes/readme.md index 21188c9ec..45490e9ec 100644 --- a/node_modules/ansi-escapes/readme.md +++ b/node_modules/ansi-escapes/readme.md @@ -6,7 +6,7 @@ ## Install ``` -$ npm install --save ansi-escapes +$ npm install ansi-escapes ``` @@ -23,12 +23,10 @@ process.stdout.write(ansiEscapes.cursorUp(2) + ansiEscapes.cursorLeft); ## API -### cursorTo([x, [y]]) +### cursorTo(x, [y]) Set the absolute position of the cursor. `x0` `y0` is the top left of the screen. -Specify either both `x` & `y`, only `x`, or nothing. - ### cursorMove(x, [y]) Set the position of the cursor relative to its current position. @@ -129,7 +127,7 @@ Output a beeping sound. Display an image. -*Currently only supported on iTerm >=2.9.* +*Currently only supported on iTerm2 >=3* See [term-img](https://github.com/sindresorhus/term-img) for a higher-level module. @@ -163,7 +161,7 @@ Default: `true` Type: `string`<br> Default: `process.cwd()` -[Inform iTerm](https://www.iterm2.com/documentation-escape-codes.html) of the current directory to help semantic history and enable [Cmd-clicking relative paths](https://coderwall.com/p/b7e82q/quickly-open-files-in-iterm-with-cmd-click). +[Inform iTerm2](https://www.iterm2.com/documentation-escape-codes.html) of the current directory to help semantic history and enable [Cmd-clicking relative paths](https://coderwall.com/p/b7e82q/quickly-open-files-in-iterm-with-cmd-click). ## Related |