Handling meta key (⌘ on OS X)

Adding support for meta key (⌘ on OS X) in the keypress directive.