diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-09-29 08:05:52 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-10-11 17:23:02 +0000 |
| commit | 5924892bbe63e1338b314521009ecc7c31009d2e (patch) | |
| tree | e35e449476827a375bb4bfd12e563190e9d76da3 /render.h | |
| parent | render: term->render.margins is used to explicitly tell us to re-render margins (diff) | |
osc: don’t explicitly call render_refresh() when changing the color palette
Doing so will schedule the renderer “as soon as possible”. I.e we’re
by-passing the regular scheduler, and thus we’re by-passing the user’s
setting of the delayed-render-* timers.
The fact that we’re scheduling “as soon as possible” also means we’re
much more likely to trigger flickering, or color flashes, if the
application is changing colors which are on the screen.
To handle changes to the cursor color(s), use the new
term_damage_cursor() instead of render_refresh().
To handle background color changes, which affect the margins, use the
new term_damage_margins() instead of render_refresh_margins(),
Closes #141
Diffstat (limited to 'render.h')
0 files changed, 0 insertions, 0 deletions
