Created
May 11, 2013 04:39
-
-
Save ttdoda/5558920 to your computer and use it in GitHub Desktop.
PuTTY wheel fix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: terminal.c | |
=================================================================== | |
--- terminal.c (revision 9002) | |
+++ terminal.c (working copy) | |
@@ -5731,6 +5731,8 @@ | |
case MA_RELEASE: | |
encstate = 0x23; | |
term->mouse_is_down = 0; | |
+ if (braw == MBT_WHEEL_UP || braw == MBT_WHEEL_DOWN) | |
+ return; | |
break; | |
case MA_CLICK: | |
if (term->mouse_is_down == braw) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment