adjust F2 for xshell and cmd.exe window