-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Fix input polling in Linux curses build #4006
Conversation
Was able to make the game lag and reproduce the inertia effect (double MAPSIZE & DAYLIGHT_LEVEL + updatedb ); this fixed it. I'd imagine the effect is the same for devices that strain normally. |
Tested on Linux ncurses build and it works as intended. |
Regarding #3787, in theory this change should have no effect in Windows because the codepath doesn't change for SDL or wincurses. Only Linux curses handling has changed. |
Good point, on the basis of that I'll go ahead and pull. |
Dwarfkoala, no windows user has ever reported an overbuffering issue to me, |
I was surprise to hear about it too. The way the input polling works in the SDL and wincurses code makes it very difficult to get noticeable buffering unless the game is running seriously slow. If you're using the wincurses build, it might be worth switching to the SDL one, or vice versa, to see if it makes a difference. And if you're compiling yourself make sure to compile the RELEASE version (the Makefile defaults to DEBUG). |
I just switched to SDL. WHAT A DIFFERENCE. On Fri, Nov 1, 2013 at 10:39 PM, Anuradha Dissanayake <
|
Should hopefully fix #3948
Will need someone who can reproduce the issue to test if this works.