readline-ui
Advanced tools
Comparing version 0.1.2 to 0.1.3
@@ -214,6 +214,6 @@ 'use strict'; | ||
UI.prototype.end = function() { | ||
UI.prototype.end = function(linefeed) { | ||
this.rl.setPrompt(''); | ||
this.rl.output.unmute(); | ||
this.rl.output.write('\n'); | ||
this.rl.output.write(linefeed !== false ? '\n' : ''); | ||
}; | ||
@@ -220,0 +220,0 @@ |
{ | ||
"name": "readline-ui", | ||
"description": "Create readline interface to use in prompts.", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"homepage": "https://github.com/enquirer/readline-ui", | ||
@@ -13,5 +13,3 @@ "author": "Jon Schlinkert (https://github.com/jonschlinkert)", | ||
"files": [ | ||
"index.js", | ||
"LICENSE", | ||
"README.md" | ||
"index.js" | ||
], | ||
@@ -27,10 +25,10 @@ "main": "index.js", | ||
"component-emitter": "^1.2.1", | ||
"debug": "^2.2.0", | ||
"readline-utils": "^0.1.1", | ||
"string-width": "^1.0.2", | ||
"debug": "^2.6.3", | ||
"readline-utils": "^0.1.4", | ||
"string-width": "^2.0.0", | ||
"strip-color": "^0.1.0" | ||
}, | ||
"devDependencies": { | ||
"gulp-format-md": "^0.1.10", | ||
"mocha": "^3.0.2" | ||
"gulp-format-md": "^0.1.12", | ||
"mocha": "^3.2.0" | ||
}, | ||
@@ -37,0 +35,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
11515
+ Addedansi-regex@3.0.1(transitive)
+ Addedis-fullwidth-code-point@2.0.0(transitive)
+ Addedstring-width@2.1.1(transitive)
+ Addedstrip-ansi@4.0.0(transitive)
- Removedansi-regex@2.1.1(transitive)
- Removedcode-point-at@1.1.0(transitive)
- Removedis-fullwidth-code-point@1.0.0(transitive)
- Removednumber-is-nan@1.0.1(transitive)
- Removedstring-width@1.0.2(transitive)
- Removedstrip-ansi@3.0.1(transitive)
Updateddebug@^2.6.3
Updatedreadline-utils@^0.1.4
Updatedstring-width@^2.0.0