1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-07-03 06:06:45 +02:00

make audio messages compatible with new printing method

This commit is contained in:
Jfreegman
2014-03-25 04:39:44 -04:00
parent 5e941427d3
commit 2f981ecb12
5 changed files with 101 additions and 68 deletions

View File

@ -273,6 +273,10 @@ static void prompt_onDraw(ToxWindow *self, Tox *m)
int x, y, x2, y2;
getyx(ctx->history, y, x);
getmaxyx(ctx->history, y2, x2);
if (!ctx->hst->scroll_mode)
curs_set(1);
line_info_print(self);
/* if len is >= screen width offset max x by X_OFST to account for prompt char */