Not exactly -- when you execute a command by pressing Enter, the
keyhandler gets nKey=13. The command is executed, and before input is
accepted for the next command, the keyhandler is called with all fields
set to 0.
This is documented in the SDK and the online help (see Reference
Information / Plugins).