在Linux中使用CLion通过外部终端运行ncurses程序

时间:2017-08-25 02:49:06

标签: linux terminal ncurses manjaro

我尝试使用CLion运行这个ncurses软件,但是我收到错误说"错误打开终端:未知。"当我尝试运行时,按照退出状态-1或类似的东西。

有解决方案吗?

谢谢!

1 个答案:

答案 0 :(得分:1)

错误消息告诉您environment variable TERM is not set。如果您实际上没有在终端中运行,可能还有其他问题。