mirror of
https://github.com/neovim/neovim.git
synced 2025-10-26 12:27:24 +00:00
vim-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.
891e1fd894
This commit is contained in:
@@ -45,7 +45,7 @@ describe('prompt buffer', function()
|
||||
~ |
|
||||
~ |
|
||||
~ |
|
||||
[Scratch] |
|
||||
[Prompt] |
|
||||
other buffer |
|
||||
~ |
|
||||
~ |
|
||||
@@ -59,7 +59,7 @@ describe('prompt buffer', function()
|
||||
Command: "hello" |
|
||||
Result: "hello" |
|
||||
% ^ |
|
||||
[Scratch] |
|
||||
[Prompt] |
|
||||
other buffer |
|
||||
~ |
|
||||
~ |
|
||||
@@ -87,7 +87,7 @@ describe('prompt buffer', function()
|
||||
~ |
|
||||
~ |
|
||||
~ |
|
||||
[Scratch] |
|
||||
[Prompt] |
|
||||
other buffer |
|
||||
~ |
|
||||
~ |
|
||||
@@ -101,7 +101,7 @@ describe('prompt buffer', function()
|
||||
~ |
|
||||
~ |
|
||||
~ |
|
||||
[Scratch] |
|
||||
[Prompt] |
|
||||
other buffer |
|
||||
~ |
|
||||
~ |
|
||||
@@ -114,7 +114,7 @@ describe('prompt buffer', function()
|
||||
~ |
|
||||
~ |
|
||||
~ |
|
||||
[Scratch] |
|
||||
[Prompt] |
|
||||
other buffer |
|
||||
~ |
|
||||
~ |
|
||||
@@ -127,7 +127,7 @@ describe('prompt buffer', function()
|
||||
~ |
|
||||
~ |
|
||||
~ |
|
||||
[Scratch] |
|
||||
[Prompt] |
|
||||
other buffer |
|
||||
~ |
|
||||
~ |
|
||||
|
||||
Reference in New Issue
Block a user