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

fix help popup flickering issue on some terminals

This commit is contained in:
Jfreegman
2014-07-05 14:46:16 -04:00
parent de1e61bd5a
commit 455eba3bfd
6 changed files with 13 additions and 11 deletions

View File

@ -255,10 +255,10 @@ static void prompt_onDraw(ToxWindow *self, Tox *m)
int new_x = ctx->start ? x2 - 1 : ctx->pos;
wmove(self->window, y + 1, new_x);
if (self->help->active) {
wrefresh(self->window);
wrefresh(self->window);
if (self->help->active)
help_onDraw(self);
}
}
static void prompt_onConnectionChange(ToxWindow *self, Tox *m, int32_t friendnum , uint8_t status)