Merge remote-tracking branch 'origin/master' into bugfix/scrolling_updates
This commit is contained in:
@@ -1050,7 +1050,7 @@ exports.FullScreenEditorModule =
|
||||
posView.setText(
|
||||
_.padStart(String(pos.row + 1), 2, '0') +
|
||||
',' +
|
||||
_.padEnd(String(pos.col + 1), 2, '0')
|
||||
_.padStart(String(pos.col + 1), 2, '0')
|
||||
);
|
||||
this.client.term.rawWrite(ansi.restorePos());
|
||||
}
|
||||
|
||||
@@ -179,6 +179,10 @@ TextView.prototype.setText = function (text, redraw) {
|
||||
};
|
||||
|
||||
TextView.prototype.clearText = function () {
|
||||
if (this.text) {
|
||||
this.setText(this.fillChar.repeat(this.text.length));
|
||||
}
|
||||
|
||||
this.setText('');
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user