Skip to content

Commit

Permalink
Textarea: readEditor(): call callback after editing
Browse files Browse the repository at this point in the history
  • Loading branch information
plepe committed Jul 18, 2018
1 parent 4247c89 commit c8545e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/widgets/textarea.js
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ Textarea.prototype.readEditor = function(callback) {
}
self.setValue(value);
self.screen.render();
return self.readInput(callback);
return callback(value);
});
};

Expand Down

0 comments on commit c8545e1

Please sign in to comment.