lalitmetkar / vim

Automatically exported from code.google.com/p/vim
0 stars 0 forks source link

mouse support broken after using shell with :! #31

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. Add
set nocompatible
set mouse=a
to ~/.vimrc

2. Start vim. Insert some text, hit escape, :! enter to access shell, then 
press enter to return to vim. Now, try to move the cursor by using the mouse to 
click on some character. 

What is the expected output? What do you see instead?

You should be able to move the cursor by clicking with the mouse but noting 
happens.

What version of the product are you using? On what operating system?

It looks like that bug was introduced by the changes done in version 7.3.343 as 
it works fine in 7.3.342. The bug is still present in 7.3.353. The OS is Linux.

Original issue reported on code.google.com by snowmani...@gmail.com on 23 Nov 2011 at 6:14

GoogleCodeExporter commented 9 years ago
This bug doesn't happen if you run configure without any options. I'll 
investigate which of the configure flags I use triggers the bug and I will 
report it here later.

Original comment by snowmani...@gmail.com on 23 Nov 2011 at 7:26

GoogleCodeExporter commented 9 years ago
This has been discussed on the list in a few threads.  The attached patch is 
what both myself and lilydjwg independently came up with and seems to work.

Original comment by vega.james@gmail.com on 23 Nov 2011 at 9:30

Attachments:

GoogleCodeExporter commented 9 years ago
Sorry for not checking the mailing list before opening the bug report. I just 
tested the urxvt-mouse.diff patch and I can also confirm that it fixes the 
problem.

Original comment by snowmani...@gmail.com on 23 Nov 2011 at 10:45

GoogleCodeExporter commented 9 years ago

Original comment by lech.lor...@gmail.com on 13 Dec 2011 at 9:49