comparison nnchat.c @ 35:c725b0dc6268

Fix the editline being 2 lines instead of 3.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 06 Aug 2008 01:02:57 +0300
parents f5d335771b16
children 34864d021d7e
comparison
equal deleted inserted replaced
34:f5d335771b16 35:c725b0dc6268
1090 1090
1091 } 1091 }
1092 1092
1093 mainWin = newwin(LINES - 4, COLS, 0, 0); 1093 mainWin = newwin(LINES - 4, COLS, 0, 0);
1094 statusWin = newwin(1, COLS, LINES - 4, 0); 1094 statusWin = newwin(1, COLS, LINES - 4, 0);
1095 editWin = newwin(2, COLS, LINES - 3, 0); 1095 editWin = newwin(3, COLS, LINES - 3, 0);
1096 1096
1097 if (mainWin == NULL || statusWin == NULL || editWin == NULL) { 1097 if (mainWin == NULL || statusWin == NULL || editWin == NULL) {
1098 THERR("Could not create ncurses windows!\n"); 1098 THERR("Could not create ncurses windows!\n");
1099 goto err_exit; 1099 goto err_exit;
1100 } 1100 }