This commit is contained in:
Timothy Jaeryang Baek committed 2026-04-12 11:15:38 -05:00
1 parent 71a39dbac1
commit 36a81ad43b
1 file changed
+4
@@ -82,6 +82,7 @@
loading = true;
if (validateCommandString(command)) {
try {
await onSubmit({
id: prompt?.id,
name,
@@ -100,6 +101,9 @@
if (history.length > 0) {
selectedHistoryEntry = history[0];
}
} catch (error) {
toast.error(`${error}`);
}
} else {
toast.error(
$i18n.t('Only alphanumeric characters and hyphens are allowed in the command string.')