0
0
mirror of https://github.com/vim/vim.git synced 2025-09-29 04:34:16 -04:00

patch 8.0.0611: the screen is not redrawn after sending t_u7

Problem:    When t_u7 is sent a few characters in the second screen line are
            overwritten and not redrawn later. (Rastislav Barlik)
Solution:   Move redrawing the screen to after overwriting the characters.
This commit is contained in:
Bram Moolenaar
2017-06-04 15:45:50 +02:00
parent 4b974d5443
commit 976787d1f3
3 changed files with 11 additions and 3 deletions

View File

@@ -783,6 +783,11 @@ vim_main2(void)
if (params.n_commands > 0)
exe_commands(&params);
#if defined(FEAT_TERMRESPONSE) && defined(FEAT_MBYTE)
/* Must be done before redrawing, puts a few characters on the screen. */
may_req_ambiguous_char_width();
#endif
RedrawingDisabled = 0;
redraw_all_later(NOT_VALID);
no_wait_return = FALSE;
@@ -796,9 +801,6 @@ vim_main2(void)
* argument doesn't make it appear in the shell Vim was started from. */
may_req_termresponse();
# if defined(FEAT_MBYTE)
may_req_ambiguous_char_width();
# endif
may_req_bg_color();
#endif