]> granicus.if.org Git - vim/commit
patch 8.0.1838: cursor in wrong pos when switching to Terminal-Normal mode v8.0.1838
authorBram Moolenaar <Bram@vim.org>
Sun, 13 May 2018 17:06:12 +0000 (19:06 +0200)
committerBram Moolenaar <Bram@vim.org>
Sun, 13 May 2018 17:06:12 +0000 (19:06 +0200)
commit620020eb1d937e1fd9068ee97d5ef70a99913361
tree3b8f0868e31cd1afb484995756e9bb6de0f7b4cf
parent5e3423d192bfa502c6704f731fa2ec6821f9a2f0
patch 8.0.1838: cursor in wrong pos when switching to Terminal-Normal mode

Problem:    Cursor in wrong position when switching to Terminal-Normal mode.
            (Dominique Pelle)
Solution:   Move to the end of the line if coladvance() fails.  Do not take a
            snapshot a second time.
src/terminal.c
src/version.c