* Fix TextEditView when 'text' set by default
* Fix TextEditView row vs col * Start skeleton on HorizontalMenuView
This commit is contained in:
@@ -24,7 +24,7 @@ function TextView(options) {
|
||||
if(options.maxLength) {
|
||||
this.maxLength = options.maxLength;
|
||||
} else {
|
||||
this.maxLength = this.client.term.termWidth - this.position.row;
|
||||
this.maxLength = this.client.term.termWidth - this.position.col;
|
||||
}
|
||||
|
||||
this.fillChar = miscUtil.valueWithDefault(options.fillChar, ' ').substr(0, 1);
|
||||
|
||||
Reference in New Issue
Block a user