Do not allow input queue to fill up
commite55c4ffec3bed90e27639b5e9943386621b63a59
authorBjorn Winckler <bjorn.winckler@gmail.com>
Fri, 12 Sep 2008 22:08:47 +0000 (13 00:08 +0200)
committerBjorn Winckler <bjorn.winckler@gmail.com>
Sat, 13 Sep 2008 16:52:21 +0000 (13 18:52 +0200)
tree1c57e27ce5ff31c590165102d5fc9df22c4f4213
parentef03c36272e9a45f71659df7cecfce7aa15c2cbf
Do not allow input queue to fill up

The backend keeps at most one copy of each message on the input queue.
This makes MacVim feel a lot more responsive e.g. when scrolling the
screen.  It used to be that holding down 'j' to scroll and then
releasing 'j' would cause the screen to keep scrolling for a while even
after the release.
src/MacVim/MMBackend.h
src/MacVim/MMBackend.m