fixed: should not call super since it returns true
fixed: infinite loop when continuously pressing a key.
history updated