From 2488c3935bbd0cb8e920f294b31deec13cfb89bd Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Tue, 1 Sep 2020 07:33:44 +0200 Subject: 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. --- terminal.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'terminal.h') diff --git a/terminal.h b/terminal.h index 4318f889..12e93ce2 100644 --- a/terminal.h +++ b/terminal.h @@ -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; -- cgit v1.3