Mercurial > vim
comparison 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 |
comparison
equal
deleted
inserted
replaced
21225:46dce2da6919 | 21226:421c4ed6b949 |
---|---|
2980 { | 2980 { |
2981 (void)vim_memset(ScreenAttrs + off, -1, (size_t)width * sizeof(sattr_T)); | 2981 (void)vim_memset(ScreenAttrs + off, -1, (size_t)width * sizeof(sattr_T)); |
2982 } | 2982 } |
2983 | 2983 |
2984 /* | 2984 /* |
2985 * To be called when characters were sent to the terminal directly, outputting | |
2986 * test on "screen_lnum". | |
2987 */ | |
2988 void | |
2989 line_was_clobbered(int screen_lnum) | |
2990 { | |
2991 lineinvalid(LineOffset[screen_lnum], (int)Columns); | |
2992 } | |
2993 | |
2994 /* | |
2985 * Copy part of a Screenline for vertically split window "wp". | 2995 * Copy part of a Screenline for vertically split window "wp". |
2986 */ | 2996 */ |
2987 static void | 2997 static void |
2988 linecopy(int to, int from, win_T *wp) | 2998 linecopy(int to, int from, win_T *wp) |
2989 { | 2999 { |