This commit is contained in:
retoor 2025-06-29 21:13:30 +02:00
parent 2af8ce9bb3
commit 006bb4e282

View File

@ -96,8 +96,8 @@ class STTButton extends HTMLElement {
.replace(/\?/g, "?\n")
.replace(/\!/g, "!\n");
this.targetEl.value = ''; // punctuated;
this.simulateTypingWithEvents(this.targetEl, punctuated, 0).then(() => {
this.targetEl.value = punctuated; // punctuated;
this.simulateTypingWithEvents(this.targetEl, ' ', 0).then(() => {
const chatInput = document.querySelector('chat-input');
chatInput.finalizeMessage();
});