未验证 提交 62a62607 编写于 作者: D dapan1121 提交者: GitHub

Merge pull request #20000 from taosdata/fix/TS-2658-MAIN

fix: parse multi-line sql include tab key
...@@ -1735,10 +1735,12 @@ _return: ...@@ -1735,10 +1735,12 @@ _return:
// main key press tab // main key press tab
void pressTabKey(SShellCmd* cmd) { void pressTabKey(SShellCmd* cmd) {
// check // check empty tab key
if (cmd->commandSize == 0) { if (cmd->commandSize == 0) {
// empty // have multi line tab key
showHelp(); if(cmd->bufferSize == 0) {
showHelp();
}
shellShowOnScreen(cmd); shellShowOnScreen(cmd);
return; return;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册