Changeset ee507d456615ceaa597d645a5f587a88c567092a
Commiter: Nikos Chantziaras
Author: Nikos Chantziaras
Parent: ed1ed0d261
(2009/08/19 18:36) Over 2 years ago
Default to 80x24 terminal size if we can't detect real size
Commiter: Nikos Chantziaras
Author: Nikos Chantziaras
Parent: ed1ed0d261
(2009/08/19 18:36) Over 2 years ago
Default to 80x24 terminal size if we can't detect real size
if (res < 0 or w == 0 or h == 0) {if (res < 0) {// The call failed or the system doesn't seem to know// The call failed.// the terminal's size.if (w == 0 or h == 0) {