diff options
Diffstat (limited to 'lib/utils/prompt.js')
-rw-r--r-- | lib/utils/prompt.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/utils/prompt.js b/lib/utils/prompt.js index 4669796da..5035caece 100644 --- a/lib/utils/prompt.js +++ b/lib/utils/prompt.js @@ -24,6 +24,7 @@ function read (def, cb) { stdin.on("data", function D (chunk) { val += buffer + chunk buffer = "" + val = val.replace(/\r/g, '') if (val.indexOf("\n") !== -1) { if (val !== "\n") val = val.replace(/^\n+/, "") buffer = val.substr(val.indexOf("\n")) |