diff options
author | David Walter Seikel | 2014-02-01 15:23:59 +1000 |
---|---|---|
committer | David Walter Seikel | 2014-02-01 15:23:59 +1000 |
commit | f041fc7d636bbe2cb523a1ae99934839cca934f8 (patch) | |
tree | 690d679c5c1cd3bb743a1f1626c6dc80092ef091 /boxes.c | |
parent | Comment++ (diff) | |
download | opensim-SC-f041fc7d636bbe2cb523a1ae99934839cca934f8.zip opensim-SC-f041fc7d636bbe2cb523a1ae99934839cca934f8.tar.gz opensim-SC-f041fc7d636bbe2cb523a1ae99934839cca934f8.tar.bz2 opensim-SC-f041fc7d636bbe2cb523a1ae99934839cca934f8.tar.xz |
Terminal resize now does the right thing in boxes.
Diffstat (limited to 'boxes.c')
-rw-r--r-- | boxes.c | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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 | ||