screen: fix vcol counting with virtual text. Fixes #9941

This commit is contained in:
Björn Linse
2019-09-20 09:37:43 +02:00
parent afd576ee94
commit 828a6e7568
2 changed files with 30 additions and 1 deletions

View File

@@ -4007,7 +4007,7 @@ win_line (
break;
}
++vcol;
vcol += cells;
}
}