解决linux平台无法使用getch()的问题
参考https://www.cnblogs.com/jiangxinnju/p/5516906.html#:~:text=%E5%8F%A6%E5%A4%96%E5%A4%A7%E5%AE%B6%E5%B9%B3%E6%97%B6%E4%B8%BB%E8%A6%81%E6%98%AF%E5%88%A9%E7%94%A8conio.h%E8%BF%99%E4%B8%AA%E5%A4%B4%E6%96%87%E4%BB%B6%E4%B8%AD%E7%9A%84getch%20%28%29%E5%87%BD%E6%95%B0%EF%BC%8C%E5%8D%B3%E8%AF%BB%E5%8F%96%E9%94%AE%E7%9B%98%E5%AD%97%E7%AC%A6%E4%BD%86%E6%98%AF%E4%B8%8D%E6%98%BE%E7%A4%BA%E5%87%BA%E6%9D%A5%EF%BC%88without,echo%29%EF%BC%8C%E4%BD%86%E6%98%AF%E5%90%AB%E6%9C%89conio.h%E7%9A%84%E7%A8%8B%E5%BA%8F%E5%9C%A8linux%E6%97%A0%E6%B3%95%E7%9B%B4%E6%8E%A5%E7%BC%96%E8%AF%91%E9%80%9A%E8%BF%87%EF%BC%8C%E5%9B%A0%E4%B8%BAlinux%E6%B2%A1%E6%9C%89%E8%BF%99%E4%B8%AA%E5%A4%B4%E6%96%87%E4%BB%B6%EF%BC%8C%E9%99%A4%E4%BA%86%E5%88%A9%E7%94%A8%E4%B8%8A%E8%BF%B0%E7%9A%84%E5%85%BC%E5%AE%B9%E5%8C%85%E5%A4%96%E8%BF%98%E5%8F%AF%E4%BB%A5%E5%9C%A8linux%E9%87%87%E7%94%A8%E5%8E%9F%E7%94%9F%E7%9A%84%E6%96%B9%E6%B3%95%E8%BE%BE%E5%88%B0%E5%90%8C%E6%A0%B7%E7%9A%84%E6%95%88%E6%9E%9C%EF%BC%8C%E9%82%A3%E5%B0%B1%E6%98%AF%E5%88%A9%E7%94%A8linux%E7%B3%BB%E7%BB%9F%E7%9A%84%E5%91%BD%E4%BB%A4stty%20%E2%80%93echo%EF%BC%8C%E5%AE%83%E4%BB%A3%E8%A1%A8%E4%B8%8D%E6%98%BE%E7%A4%BA%E8%BE%93%E5%85%A5%E5%86%85%E5%AE%B9%EF%BC%8C%E6%BA%90%E4%BB%A3%E7%A0%81%E5%A6%82%E4%B8%8B%E3%80%82
将
这个函数填入进入就好了