simon-svn: puzzles: simon
Commits to Tartarus CVS repository.
tartarus-commits at lists.tartarus.org
Fri Apr 5 16:49:28 BST 2013
SVN root: svn://svn.tartarus.org/sgt
Changes by: simon
Revision: 9810
Date: 2013-04-05 16:49:27 +0100 (Fri, 05 Apr 2013)
Log message (7 lines):
Rewrite the JS keyboard handling to cope with IE and Chrome.
Unlike Firefox, IE and Chrome don't generate keypress events at all if
you suppress the default handling of keydowns. Therefore, we have to
figure out everything from the keydown event, because if we unsuppress
the default handling of any keydowns then we'll get annoyances like ^R
going back to meaning reload-page rather than redo-move.
Modified files:
U puzzles/emcc.c
U puzzles/emccpre.js
Links:
http://svn.tartarus.org/sgt/?rev=9810&view=rev
http://svn.tartarus.org/sgt/puzzles/emcc.c?rev=9810&r1=9809&r2=9810
http://svn.tartarus.org/sgt/puzzles/emccpre.js?rev=9810&r1=9809&r2=9810
More information about the tartarus-commits
mailing list