diff options
| author | Quentin Carbonneaux | 2016-05-03 21:32:15 -0400 |
|---|---|---|
| committer | Quentin Carbonneaux | 2016-05-03 21:32:21 -0400 |
| commit | 01cb7d3ebee300dac6af2e8d835af425ec66e6e4 (patch) | |
| tree | aac170de3920112dc7c379f170f90c58d13c59e9 | |
| parent | fea5b2171f559a5aac7b38773659eca26064562d (diff) | |
do not panic
| -rw-r--r-- | irc.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -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); |
