render: implement render_refresh_margins()

For now, it will reset term->render.last_buf to NULL, and then calls
grid_render() to do a full screen refresh.
This commit is contained in:
Daniel Eklöf 2020-09-01 07:33:44 +02:00
parent 52af2694ff
commit 2488c3935b
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
3 changed files with 25 additions and 2 deletions

View file

@ -13,6 +13,7 @@ bool render_resize(struct terminal *term, int width, int height);
bool render_resize_force(struct terminal *term, int width, int height);
void render_refresh(struct terminal *term);
void render_refresh_margins(struct terminal *term);
void render_refresh_csd(struct terminal *term);
void render_refresh_search(struct terminal *term);
void render_refresh_title(struct terminal *term);