render: resize() now only calls refresh() if asked to

This commit is contained in:
Daniel Eklöf 2020-01-03 12:44:29 +01:00
parent 709dbfe18b
commit af26f043fb
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
2 changed files with 4 additions and 3 deletions

View file

@ -6,7 +6,7 @@ struct font *attrs_to_font(
const struct terminal *term, const struct attributes *attrs);
void grid_render(struct terminal *term);
void render_resize(struct terminal *term, int width, int height);
void render_resize(struct terminal *term, int width, int height, bool refresh);
void render_set_title(struct terminal *term, const char *title);
void render_refresh(struct terminal *term);