diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-07-08 23:09:28 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-07-08 23:09:28 +0200 |
commit | 96916ac67ad9ed5d79ce87b099f9d01aa4c13745 (patch) | |
tree | 9ecc679aa3799d886c894b21adc410b4ca851cb7 /src/screen.c | |
parent | 6e13530ca03dd9cad245221177dd65f712211448 (diff) | |
download | vim-git-96916ac67ad9ed5d79ce87b099f9d01aa4c13745.tar.gz |
patch 8.2.1164: text cleared by checking terminal properties not redrawnv8.2.1164
Problem: Text cleared by checking terminal properties not redrawn. (Alexey
Radkov)
Solution: Mark the screen characters as invalid. (closes #6422)
Diffstat (limited to 'src/screen.c')
-rw-r--r-- | src/screen.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/screen.c b/src/screen.c index 01d6257b7..0d65b4bbd 100644 --- a/src/screen.c +++ b/src/screen.c @@ -2982,6 +2982,16 @@ lineinvalid(unsigned off, int width) } /* + * To be called when characters were sent to the terminal directly, outputting + * test on "screen_lnum". + */ + void +line_was_clobbered(int screen_lnum) +{ + lineinvalid(LineOffset[screen_lnum], (int)Columns); +} + +/* * Copy part of a Screenline for vertically split window "wp". */ static void |