Fix chat draw boundaries

master
Curtis McEnroe 2018-08-04 17:08:15 -04:00
parent aca376bc89
commit b163492552
No known key found for this signature in database
GPG Key ID: CEA2F97ADCFCD77C
1 changed files with 9 additions and 3 deletions

12
ui.c
View File

@ -91,11 +91,17 @@ void uiDraw(void) {
int lastCol = COLS - 1;
int lastLine = LINES - 1;
pnoutrefresh(ui.topic, 0, 0, 0, 0, 1, lastCol);
pnoutrefresh(
ui.topic,
0, 0,
0, 0,
1, lastCol
);
pnoutrefresh(
ui.chat,
CHAT_LINES - (lastLine - 4), 0,
2, 0, lastLine, lastCol
CHAT_LINES - (LINES - 4), 0,
2, 0,
lastLine - 2, lastCol
);
pnoutrefresh(
ui.input,