Patch 8.2.1164
Problem:    Text cleared by checking terminal properties not redrawn. (Alexey
            Radkov)
Solution:   Mark the screen characters as invalid. (closes #6422)
Files:      src/screen.c, src/proto/screen.pro, src/term.c


*** ../vim-8.2.1163/src/screen.c        2020-06-24 20:33:59.569106308 +0200
--- src/screen.c        2020-07-08 23:04:18.672848177 +0200
***************
*** 2982,2987 ****
--- 2982,2997 ----
  }
  
  /*
+  * 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
*** ../vim-8.2.1163/src/proto/screen.pro        2019-12-12 12:55:32.000000000 
+0100
--- src/proto/screen.pro        2020-07-08 23:03:53.264925563 +0200
***************
*** 31,36 ****
--- 31,37 ----
  void screenalloc(int doclear);
  void free_screenlines(void);
  void screenclear(void);
+ void line_was_clobbered(int screen_lnum);
  int can_clear(char_u *p);
  void screen_start(void);
  void windgoto(int row, int col);
*** ../vim-8.2.1163/src/term.c  2020-06-20 14:43:20.357653490 +0200
--- src/term.c  2020-07-08 23:02:48.325123752 +0200
***************
*** 3732,3737 ****
--- 3732,3738 ----
        screen_stop_highlight();
        term_windgoto(1, 0);
        out_str((char_u *)"  ");
+       line_was_clobbered(1);
      }
  
      if (xcc_status.tr_progress == STATUS_GET)
***************
*** 3761,3766 ****
--- 3762,3768 ----
        screen_stop_highlight();
        term_windgoto(2, 0);
        out_str((char_u *)"           ");
+       line_was_clobbered(2);
      }
  
      if (did_send)
*** ../vim-8.2.1163/src/version.c       2020-07-08 22:36:11.906706804 +0200
--- src/version.c       2020-07-08 23:03:47.832942126 +0200
***************
*** 756,757 ****
--- 756,759 ----
  {   /* Add new patch number below this line */
+ /**/
+     1164,
  /**/

-- 
I think that you'll agree that engineers are very effective in their social
interactions.  It's the "normal" people who are nuts.
                                (Scott Adams - The Dilbert principle)

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/202007082109.068L9rZr1459486%40masaka.moolenaar.net.

Raspunde prin e-mail lui