1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-07-05 03:36:45 +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

@ -522,8 +522,6 @@ static void friendlist_onDraw(ToxWindow *self, Tox *m)
}
self->x = x2;
wrefresh(self->window);
draw_popup();
if (num_friends) {
wmove(self->window, y2 - 1, 1);
@ -537,6 +535,9 @@ static void friendlist_onDraw(ToxWindow *self, Tox *m)
for (i = 0; i < TOX_CLIENT_ID_SIZE; ++i)
wprintw(self->window, "%02X", friends[selected_num].pub_key[i] & 0xff);
}
wrefresh(self->window);
draw_popup();
}
void disable_chatwin(int32_t f_num)