From 6e2b8c8d3f07024c121f9778e0b0b1455dd8f254 Mon Sep 17 00:00:00 2001 From: anseki Date: Sun, 13 Jul 2014 13:58:11 +0900 Subject: [PATCH] small change README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 014f608..2c061e2 100644 --- a/README.md +++ b/README.md @@ -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]# ` ```js -readlineSync.setPrompt({toString: function() {return '[' + require('path').basename(process.cwd()) + ']# '; }}) +readlineSync.setPrompt({toString: + function() { return '[' + require('path').basename(process.cwd()) + ']# '; }}) ``` ### prompt