made shell react on ESC and backspace key by hiding completion window