small change README.md

This commit is contained in:
anseki 2014-07-13 13:58:11 +09:00
parent eeb0770459
commit 6e2b8c8d3f

View file

@ -30,7 +30,8 @@ This is converted to string (i.e. `toString` method is called) before it is disp
For example: like bash `[foo-directory]# ` For example: like bash `[foo-directory]# `
```js ```js
readlineSync.setPrompt({toString: function() {return '[' + require('path').basename(process.cwd()) + ']# '; }}) readlineSync.setPrompt({toString:
function() { return '[' + require('path').basename(process.cwd()) + ']# '; }})
``` ```
### prompt ### prompt