Blocking
(Nearly) all keys should be catched, also shortcuts.
Blocking Enter (not Shift-Enter)
Enter clears the text field, Shift-Enter does not. Some shortcuts (Ctrl-l, Ctrl-r) should be blocked.
Blocking output
Output; information about blocked keyPress and keyDown.
Enter output