# HG changeset patch # User Mikael Berthe # Date 1122665286 -3600 # Node ID f211238d581204c03bb6d68540cb62185681c739 # Parent 2bbeef7b4fddf770bd9e3bebf68c449914ec7efb Ctrl-l does a full refresh * Use redrawwin() to tell curses the screen has been corrupted * Prevent a resize from ending auto-away diff -r 2bbeef7b4fdd -r f211238d5812 mcabber/src/screen.c --- a/mcabber/src/screen.c Fri Jul 29 19:09:07 2005 +0100 +++ b/mcabber/src/screen.c Fri Jul 29 20:28:06 2005 +0100 @@ -640,8 +640,10 @@ rescue_top = hbuf_previous_persistent(search_entry->top); hbuf_rebuild(&search_entry->hbuf, maxX - ROSTER_WIDTH - PREFIX_WIDTH); - if (g_list_position(g_list_first(search_entry->hbuf), search_entry->top) == -1) + if (g_list_position(g_list_first(search_entry->hbuf), + search_entry->top) == -1) { search_entry->top = rescue_top; + } } } @@ -1598,8 +1600,9 @@ update_panels(); break; case 12: // Ctrl-l + scr_CheckAutoAway(TRUE); + redrawwin(stdscr); case KEY_RESIZE: - scr_CheckAutoAway(TRUE); scr_Resize(); break; default: