mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
don't show "no matching" on cursor move
This commit is contained in:
@ -2091,6 +2091,9 @@ export function setNewSlashCommandAutoComplete(textarea, isFloating = false) {
|
|||||||
|
|
||||||
// add notice if no match found
|
// add notice if no match found
|
||||||
if (result.length == 0) {
|
if (result.length == 0) {
|
||||||
|
if (!isInput) {
|
||||||
|
return hide();
|
||||||
|
}
|
||||||
result.push({
|
result.push({
|
||||||
name: '',
|
name: '',
|
||||||
label: `No matching commands for "/${slashCommand}"`,
|
label: `No matching commands for "/${slashCommand}"`,
|
||||||
|
Reference in New Issue
Block a user