Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable middle click paste option #384

Closed
GoogleCodeExporter opened this issue Jun 4, 2015 · 6 comments
Closed

Disable middle click paste option #384

GoogleCodeExporter opened this issue Jun 4, 2015 · 6 comments

Comments

@GoogleCodeExporter
Copy link

Shift insert is enough.

Original issue reported on code.google.com by ZoobyW...@gmail.com on 18 Apr 2013 at 11:13

@GoogleCodeExporter
Copy link
Author

What for?

Original comment by andy.koppe on 19 Apr 2013 at 4:45

  • Changed state: Waiting

@GoogleCodeExporter
Copy link
Author

There are any number of ways one could accidentally middle-click (particularly 
while scrolling or on a crowded desk), and since a wayward paste can execute 
large swaths of unintended code, it would be nice for those of us who don't use 
the feature to be able to eliminate that risk.

Original comment by gw.verac...@gmail.com on 7 Aug 2013 at 6:17

@GoogleCodeExporter
Copy link
Author

I wanted to disable this too.  I used to have an extremely stiff mousewheel 
which would cause frequent middle-clicks when scrolling.  It was usually only 
annoying but pasting newlines into mintty could be very destructive.

I added a new radio control on the mouse page which will let you select between 
paste, extend (the old action if you had right-click paste), and nothing.

A picture is included for reference.

I have also increased the height of the config window as nobody wants 
overlapping controls.  This was surprisingly hard to find in the source.

Original comment by james.da...@gmail.com on 19 May 2014 at 10:01

Attachments:

@mintty
Copy link
Owner

mintty commented Jun 30, 2015

Added MiddleClickAction option.
No GUI configuration yet.

mintty pushed a commit that referenced this issue Oct 1, 2015
@mintty
Copy link
Owner

mintty commented Oct 1, 2015

Added to Options menu.

@mintty mintty closed this as completed Oct 1, 2015
@mintty
Copy link
Owner

mintty commented Nov 3, 2015

GUI config released in 2.2.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants