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

avoid unnecessary redrawing

This commit is contained in:
zugz
2017-10-29 16:50:42 +01:00
parent 5cc83a7cb5
commit 8508451ba6
3 changed files with 11 additions and 13 deletions

View File

@ -693,7 +693,7 @@ static void groupchat_onDraw(ToxWindow *self, Tox *m)
int new_x = ctx->start ? x2 - 1 : MAX(0, wcswidth(ctx->line, ctx->pos));
wmove(self->window, y + 1, new_x);
wrefresh(self->window);
wnoutrefresh(self->window);
if (self->help->active)
help_onDraw(self);