fix object

This commit is contained in:
kwaroran
2024-06-19 18:03:08 +09:00
parent 6a2fb7e5dd
commit 799188b785
2 changed files with 7 additions and 1 deletions

View File

@@ -3,10 +3,12 @@
import TextAreaInput from "../UI/GUI/TextAreaInput.svelte";
import { risuChatParser } from 'src/ts/parser';
import { language } from 'src/lang';
import { sleep } from 'src/ts/util';
let input = "";
let output = "";
const onInput = async () => {
try {
await sleep(1)
output = risuChatParser(input, {
consistantChar: true,
})