Steps to reproduce: - Have a git repo in `/path/to/repo` with a remote set up to be an ssh remote and you have a ssh key that is password protected - Run `async-shell-command` and type `cd /path/to/repo; sleep 3; git push` - Immediately, call `ace-window` - Wait for git to prompt you to enter the password for the ssh key - Type anything will give you the error message `[<key> is undefined]`, not even `C-g` or `ESC ESC ESC` can help.