fix: #613 show all prompts when input /

This commit is contained in:
Yidadaa
2023-04-08 02:53:35 +08:00
parent 13035ecb0d
commit 637cda5b4c
4 changed files with 18 additions and 9 deletions

View File

@@ -21,11 +21,11 @@ const cn = {
Rename: "重命名对话",
Typing: "正在输入…",
Input: (submitKey: string) => {
var inputHints = `输入消息,${submitKey} 发送`;
var inputHints = `${submitKey} 发送`;
if (submitKey === String(SubmitKey.Enter)) {
inputHints += "Shift + Enter 换行";
}
return inputHints;
return inputHints + "/ 触发补全";
},
Send: "发送",
},