Skip to content

Commit

Permalink
call chalk.reset() after message prompt (#544)
Browse files Browse the repository at this point in the history
  • Loading branch information
rhyek authored and SBoudrias committed Jun 7, 2017
1 parent 3ff39a6 commit 3b93dd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/prompts/base.js
Expand Up @@ -126,7 +126,7 @@ Prompt.prototype.handleSubmitEvents = function (submit) {
*/

Prompt.prototype.getQuestion = function () {
var message = chalk.green('?') + ' ' + chalk.bold(this.opt.message) + ' ';
var message = chalk.green('?') + ' ' + chalk.bold(this.opt.message) + chalk.reset(' ');

// Append the default if available, and if question isn't answered
if (this.opt.default != null && this.status !== 'answered') {
Expand Down

0 comments on commit 3b93dd5

Please sign in to comment.