Fix: typo README
This commit is contained in:
parent
55f290ea7c
commit
a785f18b76
2 changed files with 2 additions and 2 deletions
|
@ -114,7 +114,7 @@ command = readlineSync.prompt();
|
||||||
currentBufferSize = readlineSync.setBufferSize([newBufferSize])
|
currentBufferSize = readlineSync.setBufferSize([newBufferSize])
|
||||||
```
|
```
|
||||||
|
|
||||||
When readlineSync reads from TTY directly (without reading by shell), a size `newBufferSize` buffer is used. Even if the user's response exceeds it, it's usually no problem, because the buffer is used repeatedly. But, some platforms's TTY may not accept user's response that is too long. And set a enough size. Defaults to 1024.
|
When readlineSync reads from TTY directly (without reading by shell), a size `newBufferSize` buffer is used. Even if the user's response exceeds it, it's usually no problem, because the buffer is used repeatedly. But, some platforms's TTY may not accept user's response that is too long. And set an enough size. Defaults to 1024.
|
||||||
|
|
||||||
## Options
|
## Options
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "readline-sync",
|
"name": "readline-sync",
|
||||||
"version": "0.6.0",
|
"version": "0.6.1",
|
||||||
"title": "readlineSync",
|
"title": "readlineSync",
|
||||||
"description": "Synchronous Readline",
|
"description": "Synchronous Readline",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
|
|
Loading…
Reference in a new issue