Camillo introduced a while ago the meta modifier:
$a meta
$z meta shift
meta is sensitive to the current environment and is equivalent to what you where describing above:
�� - command in mac
�� - control in windows/unix
What should be done is to use it in the system :).
Guille
Great OP! We should get this straight for sure...
Nicolai Hess wrote
> Yes, this is what I expected too.
> ...
> With that, I would expect "Character arrowLeft command" maps to
> Ctrl+Left for windows/linux
> Meta+Left for Mac (If Meta is the Command-Key on a Mac keyboard).
That makes sense to me. "command" seems like it may be the best abstract
term. Hotkey already has a meaning
(http://en.wikipedia.org/wiki/Keyboard_shortcut), and it seems meta is used
inconsistently by the platforms - i.e. Mac uses it for commands, but Windows
uses ctrl instead. IIRC we already treat #option and #alt as synonyms...
-----
Cheers,
Sean
--
View this message in context: http://forum.world.st/Cross-platform-key-modifiers-tp4828113p4828461.html
Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.