Mercurial > vim
diff src/screen.c @ 21226:421c4ed6b949 v8.2.1164
patch 8.2.1164: text cleared by checking terminal properties not redrawn
Commit: https://github.com/vim/vim/commit/96916ac67ad9ed5d79ce87b099f9d01aa4c13745
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Jul 8 23:09:28 2020 +0200
patch 8.2.1164: text cleared by checking terminal properties not redrawn
Problem: Text cleared by checking terminal properties not redrawn. (Alexey
Radkov)
Solution: Mark the screen characters as invalid. (closes #6422)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 08 Jul 2020 23:15:03 +0200 |
parents | 3af71cbcfdbe |
children | ebc6d07840fd |
line wrap: on
line diff
--- 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