From d4a6a7f55f92db2e2d2e7a831a2f5a78017a37ec Mon Sep 17 00:00:00 2001 From: LenAnderson Date: Sun, 31 Mar 2024 07:50:15 -0400 Subject: [PATCH] don't show "no matching" on cursor move --- public/scripts/slash-commands.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/public/scripts/slash-commands.js b/public/scripts/slash-commands.js index 865a13f6b..61c15cb3e 100644 --- a/public/scripts/slash-commands.js +++ b/public/scripts/slash-commands.js @@ -2091,6 +2091,9 @@ export function setNewSlashCommandAutoComplete(textarea, isFloating = false) { // add notice if no match found if (result.length == 0) { + if (!isInput) { + return hide(); + } result.push({ name: '', label: `No matching commands for "/${slashCommand}"`,