Many WFC related improvements (WIP)

* Update systeminformation to 5.x
* More work on WFC display of basic stats -- nearly complete
* Disable idle timeout when on WFC
This commit is contained in:
Bryan Ashby
2022-05-01 12:41:20 -06:00
parent 193c203a05
commit dd7d24f22e
9 changed files with 39 additions and 18 deletions

View File

@@ -120,7 +120,7 @@ View.prototype.setPosition = function(pos) {
//
// Allow the following forms: [row, col], { row : r, col : c }, or (row, col)
//
if(util.isArray(pos)) {
if(Array.isArray(pos)) {
this.position.row = pos[0];
this.position.col = pos[1];
} else if(_.isNumber(pos.row) && _.isNumber(pos.col)) {
@@ -259,7 +259,7 @@ View.prototype.setFocusProperty = function(focused) {
};
View.prototype.setFocus = function(focused) {
// Call separate method to differentiate between a value set as a
// Call separate method to differentiate between a value set as a
// property vs focus programmatically called.
this.setFocusProperty(focused);
this.restoreCursor();