fix: parse multi-line sql include tab key

This commit is contained in:
Alex Duan 2023-02-15 20:21:41 +08:00
parent 29df9d6034
commit 4a8d5355a7
1 changed files with 5 additions and 3 deletions

View File

@ -1735,10 +1735,12 @@ _return:
// main key press tab
void pressTabKey(SShellCmd* cmd) {
// check
// check empty tab key
if (cmd->commandSize == 0) {
// empty
// have multi line tab key
if(cmd->bufferSize == 0) {
showHelp();
}
shellShowOnScreen(cmd);
return;
}