Simple code using the Event object available from MooTools. This
checks for `Event.shift` and adjusts our case accordingly.
--
Casey West
Index: WKCjs.txt
===================================================================
--- WKCjs.txt (revision 68)
+++ WKCjs.txt (revision 69)
@@ -101,6 +101,9 @@
case 37: ch="[aleft]"; break;
case 38: ch="[aup]"; break;
case 9:
+ var tab = new Event(e);
+ ch = (tab.shift? "[aleft]" : "[aright]");
+ break;
case 39: ch="[aright]"; break;
case 40: ch="[adown]"; break;
case 13: ch="[enter]"; break;
@@ -143,6 +146,9 @@
case 37: ch="[aleft]"; break;
case 38: ch="[aup]"; break;
case 9:
+ var tab = new Event(e);
+ ch = (tab.shift? "[aleft]" : "[aright]");
+ break;
case 39: ch="[aright]"; break;
case 40: ch="[adown]"; break;
case 13: ch="[enter]"; break;