do not panic - irc - Unnamed repository; edit this file 'description' to name the repository.
(HTM) git clone git://vernunftzentrum.de/irc.git
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
---
(DIR) commit 01cb7d3ebee300dac6af2e8d835af425ec66e6e4
(DIR) parent fea5b2171f559a5aac7b38773659eca26064562d
(HTM) Author: Quentin Carbonneaux <quentin.carbonneaux@yale.edu>
Date: Tue, 3 May 2016 21:32:15 -0400
do not panic
Diffstat:
irc.c | 2 --
1 file changed, 0 insertions(+), 2 deletions(-)
---
(DIR) diff --git a/irc.c b/irc.c
@@ -441,8 +441,6 @@ tresize(void)
if (ioctl(0, TIOCGWINSZ, &ws) < 0)
panic("Ioctl (TIOCGWINSZ) failed.");
resizeterm(scr.y = ws.ws_row, scr.x = ws.ws_col);
- if (scr.y < 3 || scr.x < 10)
- panic("Screen too small.");
wresize(scr.mw, scr.y - 2, scr.x);
wresize(scr.iw, 1, scr.x);
wresize(scr.sw, 1, scr.x);