习惯了使用 Unix 风格的终端,过去在 Windows 上,一直给 Clion 配置 Git Bash 作为终端:
1 | "D:\Program Files\Git\bin\sh.exe" |
但近来发现,在 Git Bash 中运行编译好的 C++ 程序时,有时候会没有回显。Cygwin Terminal 就没这问题,Clion 中配置 Cygwin Terminal 如下:
1 | "D:\Dependencies\cygwin64\bin\sh.exe" -lic "cd ${OLDPWD-.}; bash" |