mirror of
https://github.com/profanity-im/profanity.git
synced 2024-11-03 19:37:16 -05:00
Fix empty window after reconnect
Sometimes after a reconnect the current window would get cleared. This was a deliberate change to fix the profanity window looking all garbled up after providing the passphrase for a gpg key using pinentry-curses. Fixes https://github.com/profanity-im/profanity/issues/1556
This commit is contained in:
parent
f2c83fa8ce
commit
ce688f6737
@ -160,7 +160,7 @@ sv_ev_roster_received(void)
|
||||
// Redraw the screen after entry of the PGP secret key, but not init
|
||||
ProfWin* win = wins_get_current();
|
||||
char* theme = prefs_get_string(PREF_THEME);
|
||||
win_clear(win);
|
||||
win_redraw(win);
|
||||
theme_init(theme);
|
||||
g_free(theme);
|
||||
ui_resize();
|
||||
|
@ -1367,6 +1367,10 @@ void
|
||||
win_clear(ProfWin* window)
|
||||
{
|
||||
}
|
||||
void
|
||||
win_redraw(ProfWin* window)
|
||||
{
|
||||
}
|
||||
char*
|
||||
win_to_string(ProfWin* window)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user