1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-11-03 19:37:16 -05:00

Refactor wins_refresh_current

This commit is contained in:
James Booth 2013-10-06 23:25:01 +01:00
parent c6c0a94bb0
commit e2161d8acc

View File

@ -207,9 +207,7 @@ void
wins_refresh_current(void)
{
ProfWin *window = wins_get_current();
int rows, cols;
getmaxyx(stdscr, rows, cols);
prefresh(window->win, window->y_pos, 0, 1, 0, rows-3, cols-1);
win_refresh(window);
}
void