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

This commit is contained in:
afwerar 2022-03-01 19:34:24 +08:00
parent 9d1d2b182d
commit e697f63013
1 changed files with 2 additions and 0 deletions

View File

@ -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);
}