do not panic - irc - Unnamed repository; edit this file 'description' to name t… | |
git clone git://vernunftzentrum.de/irc.git | |
Log | |
Files | |
Refs | |
README | |
--- | |
commit 01cb7d3ebee300dac6af2e8d835af425ec66e6e4 | |
parent fea5b2171f559a5aac7b38773659eca26064562d | |
Author: Quentin Carbonneaux <[email protected]> | |
Date: Tue, 3 May 2016 21:32:15 -0400 | |
do not panic | |
Diffstat: | |
irc.c | 2 -- | |
1 file changed, 0 insertions(+), 2 deletions(-) | |
--- | |
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); |