提交 e697f630 编写于 作者: wafwerar's avatar wafwerar

[TD-13736]<fix>: console exit input error.

上级 9d1d2b18
......@@ -41,9 +41,11 @@ void *cancelHandler(void *arg) {
taosReleaseRef(tscObjRef, rid);
#endif
#else
reset_terminal_mode();
printf("\nReceive ctrl+c or other signal, quit shell.\n");
exit(0);
#endif
reset_terminal_mode();
printf("\nReceive ctrl+c or other signal, quit shell.\n");
exit(0);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册