From 199dbab9dca8108d71df1af1eed67de47ad67b45 Mon Sep 17 00:00:00 2001 From: Alex Duan <417921451@qq.com> Date: Sat, 16 Jul 2022 17:05:41 +0800 Subject: [PATCH] feat(shell): modify tab help info --- src/kit/shell/src/shellAuto.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/kit/shell/src/shellAuto.c b/src/kit/shell/src/shellAuto.c index 265bda2262..7ac120156c 100644 --- a/src/kit/shell/src/shellAuto.c +++ b/src/kit/shell/src/shellAuto.c @@ -323,8 +323,9 @@ int cntDel = 0; // delete byte count after next press tab void printfIntroduction() { printf(" **************************** SUPPORT TAB KEY ************************************\n"); printf(" * Taos shell support press TAB key to complete word. You can try it. *\n"); - printf(" * Anywhere press SPACE key following TAB key, You'll get surprise. *\n"); - printf(" * SUPPORT SHORTCUT: *\n"); + printf(" * Press TAB key anywhere, You'll get surprise. *\n"); + printf(" * SUPPORT KEYBOARD SHORTCUT: *\n"); + printf(" * [ TAB ] ...... if prefix nothing show help else complete word *\n"); printf(" * [ Ctrl + A ] ...... move cursor to line [A]head *\n"); printf(" * [ Ctrl + M ] ...... move cursor to line [M]iddle *\n"); printf(" * [ Ctrl + E ] ...... move cursor to line [E]nd *\n"); -- GitLab