Simplify ctrl-escape handling