Fix chat draw boundaries
parent
aca376bc89
commit
b163492552
12
ui.c
12
ui.c
|
@ -91,11 +91,17 @@ void uiDraw(void) {
|
||||||
int lastCol = COLS - 1;
|
int lastCol = COLS - 1;
|
||||||
int lastLine = LINES - 1;
|
int lastLine = LINES - 1;
|
||||||
|
|
||||||
pnoutrefresh(ui.topic, 0, 0, 0, 0, 1, lastCol);
|
pnoutrefresh(
|
||||||
|
ui.topic,
|
||||||
|
0, 0,
|
||||||
|
0, 0,
|
||||||
|
1, lastCol
|
||||||
|
);
|
||||||
pnoutrefresh(
|
pnoutrefresh(
|
||||||
ui.chat,
|
ui.chat,
|
||||||
CHAT_LINES - (lastLine - 4), 0,
|
CHAT_LINES - (LINES - 4), 0,
|
||||||
2, 0, lastLine, lastCol
|
2, 0,
|
||||||
|
lastLine - 2, lastCol
|
||||||
);
|
);
|
||||||
pnoutrefresh(
|
pnoutrefresh(
|
||||||
ui.input,
|
ui.input,
|
||||||
|
|
Loading…
Reference in New Issue