render: remove 'refresh' from render_resize()

This commit is contained in:
Daniel Eklöf 2020-01-03 13:56:10 +01:00
parent 46c434d3f1
commit d07fd7de39
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
4 changed files with 8 additions and 9 deletions

View file

@ -960,7 +960,7 @@ reflow(struct row **new_grid, int new_cols, int new_rows,
/* Move to terminal.c? */
void
render_resize(struct terminal *term, int width, int height, bool refresh)
render_resize(struct terminal *term, int width, int height)
{
if (width == 0 || height == 0)
return;
@ -1086,8 +1086,7 @@ render_resize(struct terminal *term, int width, int height, bool refresh)
term->render.last_cursor.cell = NULL;
term_damage_view(term);
if (refresh)
render_refresh(term);
render_refresh(term);
}
void