More robust key event handling which seems to only be needed on OS X.
More robust key event handling which seems to only be needed on OS X.

sedwards2009/extraterm,sedwards2009/extraterm,sedwards2009/extraterm,sedwards2009/extraterm,sedwards2009/extraterm