From 6c8b034affae251cdb6645633c1b965c67e78850 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Mon, 14 Dec 2020 19:05:03 +0100 Subject: term: enabling application synchronized updates clear pending grid refresh MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This fixes issues with de-synchronized frames being rendered; we may have scheduled a redraw earlier, that hasn’t yet triggered (probably because we’re waiting for a frame callback), when we enable application synchronized updates. This means we risk rendering a partially updated state when the frame callback finally arrives, if the application hasn’t yet ended its synchronized update. --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'CHANGELOG.md') diff --git a/CHANGELOG.md b/CHANGELOG.md index c11a5189..d9778044 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -131,6 +131,8 @@ means foot can be PGO:d in e.g. sandboxed build scripts. See dragging the cursor outside the grid. * Parsing of the sub-parameter versions of indexed SGR color escapes (e.g. `\E[38:5...m`) +* Frames occasionally being rendered while application synchronized + updates is in effect. ### Security -- cgit v1.3