Do not crash when terminal height is zero.
authorSadrul Habib Chowdhury <sadrul@users.sourceforge.net>
Wed, 21 Jan 2009 18:56:09 +0000 (13:56 -0500)
committerSadrul Habib Chowdhury <sadrul@users.sourceforge.net>
Wed, 21 Jan 2009 18:56:09 +0000 (13:56 -0500)
commitbd51468c8f954f8c7a2c429b3147c196f8f6f3f1
tree5acaabdf3424f68a08dd8054cc4578b05e8d73d1
parent7f787f3fc96d7f6e365d09e6d2a4f71ecca540b4
Do not crash when terminal height is zero.

Fixes savannah bug #25338, ubuntu launchpad bug #315237.
src/ansi.c
src/layer.c