Fix: typo README

This commit is contained in:
anseki 2015-02-22 23:55:08 +09:00
parent 55f290ea7c
commit a785f18b76
2 changed files with 2 additions and 2 deletions

View file

@ -114,7 +114,7 @@ command = readlineSync.prompt();
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

View file

@ -1,6 +1,6 @@
{
"name": "readline-sync",
"version": "0.6.0",
"version": "0.6.1",
"title": "readlineSync",
"description": "Synchronous Readline",
"keywords": [