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

@@ -23,11 +23,11 @@ const en: LocaleType = {
Rename: "Rename Chat",
Typing: "Typing…",
Input: (submitKey: string) => {
var inputHints = `Type something and press ${submitKey} to send`;
var inputHints = `${submitKey} to send`;
if (submitKey === String(SubmitKey.Enter)) {
inputHints += ", press Shift + Enter to newline";
inputHints += ", Shift + Enter to wrap";
}
return inputHints;
return inputHints + ", / to search prompts";
},
Send: "Send",
},