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:
@ -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);
|
||||
|
Reference in New Issue
Block a user