Small change README

This commit is contained in:
anseki 2015-03-25 16:07:19 +09:00
parent fff855fc79
commit 340f72d290

View file

@ -116,7 +116,7 @@ readlineSync.setPrint(function(display, encoding) {
currentMask = readlineSync.setMask([newMask]) currentMask = readlineSync.setMask([newMask])
``` ```
Set the mask character that is shown instead of the secret text (e.g. password). (See `noEchoBack` option.) The default is `'*'`. If you want to show nothing, specify `''`. (But it might be not user friendly in some cases.) Set the mask character that is shown instead of the secret text (e.g. password) when `noEchoBack` option is `true`. (See `noEchoBack` option.) The default is `'*'`. If you want to show nothing, specify `''`. (But it might be not user friendly in some cases.)
*Note:* The some platforms might use `'*'` or `''` always. *Note:* The some platforms might use `'*'` or `''` always.
For example: For example:
@ -157,7 +157,7 @@ An `options` Object can be specified to `prompt` method and `question` method. T
Type: Boolean Type: Boolean
Default: `false` Default: `false`
If `true` is specified, echo back is avoided. It is used to hide the secret text (e.g. password) which is typed by user on screen. (See `setMask` method) If `true` is specified, the secret text (e.g. password) which is typed by user on screen is hidden by the mask characters. (See `setMask` method)
For example: For example: