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

@ -373,6 +373,7 @@ struct terminal {
/* Scheduled for rendering, as soon-as-possible */
struct {
bool grid;
bool margins;
bool csd;
bool search;
bool title;
@ -381,6 +382,7 @@ struct terminal {
/* Scheduled for rendering, in the next frame callback */
struct {
bool grid;
bool margins;
bool csd;
bool search;
bool title;