Don't drop non-repeating keyboard input
commit8fbb13da74a1912839e9302ebc725df67619c9c0
authorBjorn Winckler <bjorn.winckler@gmail.com>
Wed, 1 Oct 2008 21:50:39 +0000 (1 23:50 +0200)
committerBjorn Winckler <bjorn.winckler@gmail.com>
Thu, 2 Oct 2008 17:55:49 +0000 (2 19:55 +0200)
tree73ea8d06d711069a94f9a5470a9aa9610e76ac1a
parent337b71c97d4483025d53542b939ada15b8134a8e
Don't drop non-repeating keyboard input

Keyboard input is not dropped, unless the input was received due to a
key being automatically repeated (as a consequence of the key being held
down).  This way characters are never dropped while typing, but it also
avoids situations where the screen doesn't stop scrolling immediately
when "j" is released after being held.
src/MacVim/MMBackend.m
src/MacVim/MMTextViewHelper.m