# HG changeset patch # User Bram Moolenaar # Date 1551072609 -3600 # Node ID f5620f490af237bd02fc2b31cc2db459a8f6bbc9 # Parent 6121ab672b3ec5f176ff31ed7728d29a42351d68 patch 8.1.0982: update_cursor() called twice in :shell commit https://github.com/vim/vim/commit/32033d23975dbe674f98e1ac5a9a644002faaa3e Author: Bram Moolenaar Date: Mon Feb 25 06:28:57 2019 +0100 patch 8.1.0982: update_cursor() called twice in :shell Problem: update_cursor() called twice in :shell. Solution: Remove one of the calls. (Yasuhiro Matsumoto, closes https://github.com/vim/vim/issues/4039) diff --git a/src/terminal.c b/src/terminal.c --- a/src/terminal.c +++ b/src/terminal.c @@ -3265,7 +3265,6 @@ update_system_term(term_T *term) term->tl_dirty_row_start = MAX_ROW; term->tl_dirty_row_end = 0; - update_cursor(term, TRUE); } #endif diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -780,6 +780,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 982, +/**/ 981, /**/ 980,