Code carried out when a key press types a character.
<console.onKeyPress.push <putError key>> writes the key code and character of each key press to the error output.A code field: holds code to be carried out each time the event happens. Add code after the tag is created with .push.
While the code runs, key holds the key code followed by the character typed.