Okay okay

This commit is contained in:
Florian Mounier
2014-01-24 11:53:13 +01:00
parent 9b53ea67e6
commit 0a377c92cc
2 changed files with 2 additions and 2 deletions

View File

@@ -57,7 +57,7 @@ $(function() {
$termtest.remove();
w = $main.outerWidth();
h = $main.outerHeight();
cols = Math.floor(w / ew);
cols = Math.floor(w / ew) - 1;
rows = Math.floor(h / eh);
console.log("Computed " + cols + " cols and " + rows + " rows from main size " + w + ", " + h + " and div " + ew + ", " + eh);
term.resize(cols, rows);