]> granicus.if.org Git - vim/commit
patch 8.1.0036: not restoring Insert mode if leaving prompt buffer with mouse v8.1.0036
authorBram Moolenaar <Bram@vim.org>
Wed, 6 Jun 2018 16:02:39 +0000 (18:02 +0200)
committerBram Moolenaar <Bram@vim.org>
Wed, 6 Jun 2018 16:02:39 +0000 (18:02 +0200)
commit891e1fd894720d0b99a9daefa41e8181844f819a
treeea5da71e753bf0022cc832a1397ea262d8d8a64c
parent6d41c78e353b630bc1a72cbff9160311d2a81e8c
patch 8.1.0036: not restoring Insert mode if leaving prompt buffer with mouse

Problem:    Not restoring Insert mode if leaving a prompt buffer by using a
            mouse click.
Solution:   Set b_prompt_insert appropriately. Also correct cursor position
            when moving cursor to last line.
src/buffer.c
src/edit.c
src/version.c
src/window.c