initDefaultWidht() for various views

This commit is contained in:
Bryan Ashby 2018-06-23 22:23:22 -06:00
parent 0cfd45d8a9
commit 3aa23db306
8 changed files with 16 additions and 2 deletions

View file

@ -20,7 +20,7 @@ function VerticalMenuView(options) {
MenuView.call(this, options);
this.dimens.width = this.dimens.width || Math.min(15, this.client.term.termWidth - this.position.col);
this.initDefaultWidth();
const self = this;