diff --git a/core/fse.js b/core/fse.js index 6d883ba8..e6e7a9d1 100644 --- a/core/fse.js +++ b/core/fse.js @@ -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()); } diff --git a/core/text_view.js b/core/text_view.js index 74b622ba..2cb19040 100644 --- a/core/text_view.js +++ b/core/text_view.js @@ -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(''); }; diff --git a/misc/menu_templates/private_mail.in.hjson b/misc/menu_templates/private_mail.in.hjson index e27314dc..2914a11a 100644 --- a/misc/menu_templates/private_mail.in.hjson +++ b/misc/menu_templates/private_mail.in.hjson @@ -69,7 +69,7 @@ } ] } - actionKeys: @reference: common.escToPrev + actionKeys: @reference:common.escToPrev } 1: { mci: { diff --git a/package.json b/package.json index 4cf93bc2..fbf0a977 100644 --- a/package.json +++ b/package.json @@ -60,7 +60,7 @@ "sqlite3": "5.1.6", "sqlite3-trans": "1.3.0", "ssh2": "1.11.0", - "systeminformation": "5.12.3", + "systeminformation": "5.21.7", "telnet-socket": "0.2.4", "temptmp": "^1.1.0", "uuid": "8.3.2", diff --git a/yarn.lock b/yarn.lock index 94ed993e..5a208495 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2178,10 +2178,10 @@ supports-color@^7.1.0: dependencies: has-flag "^4.0.0" -systeminformation@5.12.3: - version "5.12.3" - resolved "https://registry.npmjs.org/systeminformation/-/systeminformation-5.12.3.tgz" - integrity sha512-aPyTDzK/VjEheGEODprxFTMahIWTHGyWXxTsh9EOHjeekVltrIWrle4dOZouOlOYgtKM1pDoHkrR+IssgYCK/A== +systeminformation@5.21.7: + version "5.21.7" + resolved "https://registry.yarnpkg.com/systeminformation/-/systeminformation-5.21.7.tgz#53ef75daaf5d756d015f4bb02e059126ccac74f2" + integrity sha512-K3LjnajrazTLTD61+87DFg8IXFk5ljx6nSBqB8pQLtC1UPivAjDtTYGPZ8jaBFxcesPaCOkvLRtBq+RFscrsLw== tar@^6.0.2, tar@^6.1.11, tar@^6.1.2: version "6.1.11"