aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--boxes.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/boxes.c b/boxes.c
index 3c15b21..048c7c8 100644
--- a/boxes.c
+++ b/boxes.c
@@ -1628,8 +1628,11 @@ static void termSize(long extra, int *params, int count)
1628 // TODO - Double check what the maximum F3 variations can be. 1628 // TODO - Double check what the maximum F3 variations can be.
1629 if ((2 == count) && (8 < r) && (8 < c)) 1629 if ((2 == count) && (8 < r) && (8 < c))
1630 { 1630 {
1631 // FIXME - The change is not being propogated to everything properly. 1631 commandLine->Y = r;
1632 sizeViewToBox(rootBox, rootBox->X, rootBox->Y, c, r - 1); 1632 commandLine->W = c;
1633 rootBox->W = c;
1634 rootBox->H = r - 1;
1635 sizeViewToBox(rootBox, -1, -1, -1, -1);
1633 calcBoxes(rootBox); 1636 calcBoxes(rootBox);
1634 drawBoxes(rootBox); 1637 drawBoxes(rootBox);
1635 1638