From dbb2b48c9a9ac8b8b3c9074d25e553a18cf8e67b Mon Sep 17 00:00:00 2001 From: anseki Date: Tue, 1 Jul 2014 02:22:29 +0900 Subject: [PATCH] Typo in README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a15cf92..6cc05b5 100644 --- a/README.md +++ b/README.md @@ -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'.