mirror of
https://github.com/profanity-im/profanity.git
synced 2024-09-22 19:45:54 -04: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
|
// Redraw the screen after entry of the PGP secret key, but not init
|
||||||
ProfWin* win = wins_get_current();
|
ProfWin* win = wins_get_current();
|
||||||
char* theme = prefs_get_string(PREF_THEME);
|
char* theme = prefs_get_string(PREF_THEME);
|
||||||
win_clear(win);
|
win_redraw(win);
|
||||||
theme_init(theme);
|
theme_init(theme);
|
||||||
g_free(theme);
|
g_free(theme);
|
||||||
ui_resize();
|
ui_resize();
|
||||||
|
@ -1367,6 +1367,10 @@ void
|
|||||||
win_clear(ProfWin* window)
|
win_clear(ProfWin* window)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
void
|
||||||
|
win_redraw(ProfWin* window)
|
||||||
|
{
|
||||||
|
}
|
||||||
char*
|
char*
|
||||||
win_to_string(ProfWin* window)
|
win_to_string(ProfWin* window)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user