auto type echo start

This commit is contained in:
Annie Huang authored and wancat committed 2024-06-27 10:30:00 +08:00
1 parent 15465feda9
commit 2eaf3c8f24
1 file changed
+1
+1
View File
@@ -74,6 +74,7 @@ export async function createSession() {
const res = await api.post('/sessions', { questId: store.questId })
const { data } = res
await setSession(data)
socket.emit('terminal', 'echo start')
} catch (err) {
console.error(err)
toast.error('Failed to create a new session. Please try again later.')