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
|
||||
break;
|
||||
case 4: // EOF or Ctrl+D
|
||||
taosResetTerminalMode();
|
||||
printf("\n");
|
||||
return -1;
|
||||
case 5: // ctrl E
|
||||
|
|
Loading…
Reference in New Issue