add key codes for tab and return under OSX

Signed-off-by: Stefan Nussbaumer <st9fan@gmail.com>