mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
hide autocomplete on enter-send
This commit is contained in:
@ -2233,6 +2233,11 @@ export function setNewSlashCommandAutoComplete(textarea, isFloating = false) {
|
||||
hide();
|
||||
return;
|
||||
}
|
||||
case 'Enter': {
|
||||
if (!evt.shiftKey) {
|
||||
hide();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if (['Control', 'Shift', 'Alt'].includes(evt.key)) {
|
||||
|
Reference in New Issue
Block a user