1、首先,打开vscode界面后,点击下方设置图标中的settings选项
2、随后,在跳转的新窗口中找到terminal栏目
3、最后,在页面右侧找到titlemode板块,将下拉菜单选项改为executable即可