Typo in README.md
This commit is contained in:
parent
0c8f49c535
commit
dbb2b48c9a
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ Displays the `query` to the user, and then returns the user's response after it
|
|||
### setEncoding
|
||||
|
||||
```js
|
||||
readlineSync.setPrompt(encoding)
|
||||
readlineSync.setEncoding(encoding)
|
||||
```
|
||||
|
||||
Set the encoding method of input (user's response) and output (`prompt`). Defaults to 'utf8'.
|
||||
|
|
Loading…
Reference in a new issue