We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 19cc6e0 commit 399b3a2Copy full SHA for 399b3a2
lib/ui/bottom-bar.js
@@ -60,14 +60,18 @@ Prompt.prototype.updateBottomBar = function (bottomBar) {
60
};
61
62
/**
63
- * Rerender the prompt
+ * Write out log data
64
+ * @param {String} data - The log data to be output
65
* @return {Prompt} self
66
*/
67
68
Prompt.prototype.writeLog = function (data) {
- rlUtils.clearLine(this.rl, 1);
69
+ this.rl.output.unmute();
70
+ this.clean();
71
this.rl.output.write(this.enforceLF(data.toString()));
- return this.render();
72
+ this.render();
73
+ this.rl.output.mute();
74
+ return this;
75
76
77
0 commit comments