comparison src/ex_docmd.c @ 28367:0902a477cd03 v8.2.4709

patch 8.2.4709: after :redraw the statusline highlight might be used Commit: https://github.com/vim/vim/commit/5017c66bd461eab46094e076ad1aa818e246ce9d Author: Bram Moolenaar <Bram@vim.org> Date: Thu Apr 7 18:06:08 2022 +0100 patch 8.2.4709: after :redraw the statusline highlight might be used Problem: After :redraw the statusline highlight might be used. Solution: Clear the screen attribute after redrawing the screen. (closes #10108)
author Bram Moolenaar <Bram@vim.org>
date Thu, 07 Apr 2022 19:15:03 +0200
parents 390dfc3e409b
children d1702731786c
comparison
equal deleted inserted replaced
28366:832a949ab26d 28367:0902a477cd03
8288 resize_console_buf(); 8288 resize_console_buf();
8289 #endif 8289 #endif
8290 RedrawingDisabled = r; 8290 RedrawingDisabled = r;
8291 p_lz = p; 8291 p_lz = p;
8292 8292
8293 // After drawing the statusline screen_attr may still be set.
8294 screen_stop_highlight();
8295
8293 // Reset msg_didout, so that a message that's there is overwritten. 8296 // Reset msg_didout, so that a message that's there is overwritten.
8294 msg_didout = FALSE; 8297 msg_didout = FALSE;
8295 msg_col = 0; 8298 msg_col = 0;
8296 8299
8297 // No need to wait after an intentional redraw. 8300 // No need to wait after an intentional redraw.