diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-11-15 20:32:58 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-11-15 20:32:58 +0100 |
commit | 6a07644db30cb5f3d0c6dc5eb2c348b6289da553 (patch) | |
tree | 809c5c0da918231439589f9e34b23b86c8f0aac6 /src/drawline.c | |
parent | 2dfae04f376a58d4c5a801cb652c8eae65900672 (diff) |
patch 8.2.1990: cursor position wrong in terminal popup with finished jobv8.2.1990
Problem: Cursor position wrong in terminal popup with finished job.
Solution: Only add the top and left offset when not done already.
(closes #7298)
Diffstat (limited to 'src/drawline.c')
-rw-r--r-- | src/drawline.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/drawline.c b/src/drawline.c index 6b9cbc6287..fcca38a2e9 100644 --- a/src/drawline.c +++ b/src/drawline.c @@ -2455,6 +2455,7 @@ win_line( wp->w_wrow = row; did_wcol = TRUE; curwin->w_valid |= VALID_WCOL|VALID_WROW|VALID_VIRTCOL; + curwin->w_flags &= ~(WFLAG_WCOL_OFF_ADDED | WFLAG_WROW_OFF_ADDED); } #endif |