笔者环境:ubuntu18.04
解决办法:换一款terminal
下载新终端:sudo apt install terminator
删除旧终端:sudo apt purge gnome-terminal