summaryrefslogtreecommitdiff
path: root/src/screen.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-08-22 15:19:16 +0100
committerBram Moolenaar <Bram@vim.org>2022-08-22 15:19:16 +0100
commit471c0fa3eed4f6207d1cb7636970547bfd2eee26 (patch)
treea63888422f4a84f9e73b3e23025090127c31fe25 /src/screen.c
parentf768c3d19c518822d89dec4cc3947ddeea249316 (diff)
downloadvim-git-471c0fa3eed4f6207d1cb7636970547bfd2eee26.tar.gz
patch 9.0.0245: mechanism to prevent recursive screen updating is incompletev9.0.0245
Problem: Mechanism to prevent recursive screen updating is incomplete. Solution: Add "redraw_not_allowed" and set it in build_stl_str_hl(). (issue #10952)
Diffstat (limited to 'src/screen.c')
-rw-r--r--src/screen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/screen.c b/src/screen.c
index 01a690209..abbfc2fe5 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -2906,7 +2906,7 @@ give_up:
screen_Rows = Rows;
screen_Columns = Columns;
- must_redraw = UPD_CLEAR; // need to clear the screen later
+ set_must_redraw(UPD_CLEAR); // need to clear the screen later
if (doclear)
screenclear2();
#ifdef FEAT_GUI