Skip to content

Fix the responsiveness of getchar(0) #560

Merged
splhack merged 2 commits intomacvim-dev:masterfrom
ichizok:fix/slow-getchar
Oct 18, 2017
Merged

Fix the responsiveness of getchar(0) #560
splhack merged 2 commits intomacvim-dev:masterfrom
ichizok:fix/slow-getchar

Conversation

@ichizok
Copy link
Copy Markdown
Member

@ichizok ichizok commented Oct 18, 2017

fixes #522

Now getchar(0) can only receive input up to 5 times per second, so it has a poor responsiveness.
This PR increases the frequency of calling [MMBackend update] (max 30 times/sec), and fixes above matter.

@splhack splhack merged commit 12e1a00 into macvim-dev:master Oct 18, 2017
@splhack
Copy link
Copy Markdown
Contributor

splhack commented Oct 18, 2017

👍

@ichizok ichizok deleted the fix/slow-getchar branch October 18, 2017 18:22
@splhack
Copy link
Copy Markdown
Contributor

splhack commented Oct 18, 2017

Found errors in Test_paused():
function RunTheTest[24]..Test_paused line 20: Expected range 0 - 30, but got 40

maybe we need a workaround to pass the test?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

There is a bug with getchar(0) !

2 participants