patch 8.2.0656: MS-Windows: redrawing right screen edge may not be needed
Problem: MS-Windows: redrawing right screen edge may not be needed.
Solution: Check the build version. (Nobuhiro Takasaki, closes #6002)
diff --git a/src/drawscreen.c b/src/drawscreen.c
index be4d6aa..faecaa4 100644
--- a/src/drawscreen.c
+++ b/src/drawscreen.c
@@ -2439,7 +2439,8 @@
#ifdef FEAT_VTP
// Rewrite the character at the end of the screen line.
- if (use_vtp())
+ // See the version that was fixed.
+ if (use_vtp() && get_conpty_fix_type() < 1)
{
int i;