mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-07-31 23:16:09 +02:00
General bug fixes
This commit is contained in:
parent
1bc9830202
commit
10c9ea9554
4 changed files with 19 additions and 65 deletions
|
@ -154,7 +154,7 @@ View.prototype.setHeight = function(height) {
|
|||
|
||||
View.prototype.setWidth = function(width) {
|
||||
width = parseInt(width) || 1;
|
||||
width = Math.min(width, this.client.term.termWidth);
|
||||
width = Math.min(width, this.client.term.termWidth - this.position.col);
|
||||
|
||||
this.dimens.width = width;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue