shell: fix shell ctrl-d error
This commit is contained in:
parent
f421ab09dd
commit
e10e621fc2
|
@ -482,6 +482,7 @@ int32_t shellReadCommand(char *command) {
|
||||||
#endif
|
#endif
|
||||||
break;
|
break;
|
||||||
case 4: // EOF or Ctrl+D
|
case 4: // EOF or Ctrl+D
|
||||||
|
taosResetTerminalMode();
|
||||||
printf("\n");
|
printf("\n");
|
||||||
return -1;
|
return -1;
|
||||||
case 5: // ctrl E
|
case 5: // ctrl E
|
||||||
|
|
Loading…
Reference in New Issue