summaryrefslogtreecommitdiff
path: root/tools/node_modules/eslint/node_modules/ansi-escapes/readme.md
diff options
context:
space:
mode:
authorcjihrig <cjihrig@gmail.com>2019-10-25 12:48:14 -0700
committercjihrig <cjihrig@gmail.com>2019-10-28 09:51:24 -0400
commit511f67bcb42b59c9a3a3efab8fed578db100afe1 (patch)
tree8b64f390dd727dd739fd2fb84d69df3c829a9315 /tools/node_modules/eslint/node_modules/ansi-escapes/readme.md
parentb35181f877d5a92e8bb52eb071489f2a7d87494b (diff)
downloadandroid-node-v8-511f67bcb42b59c9a3a3efab8fed578db100afe1.tar.gz
android-node-v8-511f67bcb42b59c9a3a3efab8fed578db100afe1.tar.bz2
android-node-v8-511f67bcb42b59c9a3a3efab8fed578db100afe1.zip
tools: update ESLint to 6.6.0
Update ESLint to 6.6.0 PR-URL: https://github.com/nodejs/node/pull/30123 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Diffstat (limited to 'tools/node_modules/eslint/node_modules/ansi-escapes/readme.md')
-rw-r--r--tools/node_modules/eslint/node_modules/ansi-escapes/readme.md28
1 files changed, 19 insertions, 9 deletions
diff --git a/tools/node_modules/eslint/node_modules/ansi-escapes/readme.md b/tools/node_modules/eslint/node_modules/ansi-escapes/readme.md
index 513ef60826..b290753094 100644
--- a/tools/node_modules/eslint/node_modules/ansi-escapes/readme.md
+++ b/tools/node_modules/eslint/node_modules/ansi-escapes/readme.md
@@ -23,11 +23,11 @@ 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.
-### cursorMove(x, [y])
+### cursorMove(x, y?)
Set the position of the cursor relative to its current position.
@@ -41,11 +41,11 @@ Move cursor down a specific amount of rows. Default is `1`.
### cursorForward(count)
-Move cursor forward a specific amount of rows. Default is `1`.
+Move cursor forward a specific amount of columns. Default is `1`.
### cursorBackward(count)
-Move cursor backward a specific amount of rows. Default is `1`.
+Move cursor backward a specific amount of columns. Default is `1`.
### cursorLeft
@@ -133,7 +133,7 @@ Create a clickable link.
[Supported terminals.](https://gist.github.com/egmontkob/eb114294efbcd5adb1944c9f3cb5feda) Use [`supports-hyperlinks`](https://github.com/jamestalmage/supports-hyperlinks) to detect link support.
-### image(input, [options])
+### image(filePath, options?)
Display an image.
@@ -149,10 +149,12 @@ Buffer of an image. Usually read in with `fs.readFile()`.
#### options
+Type: `object`
+
##### width
##### height
-Type: `string` `number`
+Type: `string | number`
The width and height are given as a number followed by a unit, or the word "auto".
@@ -166,7 +168,7 @@ The width and height are given as a number followed by a unit, or the word "auto
Type: `boolean`<br>
Default: `true`
-### iTerm.setCwd([path])
+### iTerm.setCwd(path?)
Type: `string`<br>
Default: `process.cwd()`
@@ -179,6 +181,14 @@ Default: `process.cwd()`
- [ansi-styles](https://github.com/chalk/ansi-styles) - ANSI escape codes for styling strings in the terminal
-## License
+---
-MIT © [Sindre Sorhus](https://sindresorhus.com)
+<div align="center">
+ <b>
+ <a href="https://tidelift.com/subscription/pkg/npm-ansi-escapes?utm_source=npm-ansi-escapes&utm_medium=referral&utm_campaign=readme">Get professional support for this package with a Tidelift subscription</a>
+ </b>
+ <br>
+ <sub>
+ Tidelift helps make open source sustainable for maintainers while giving companies<br>assurances about security, maintenance, and licensing for their dependencies.
+ </sub>
+</div>