From 70cfb5dc3f9ec69450fe6d514172a24094ab7934 Mon Sep 17 00:00:00 2001 From: James Murdza Date: Thu, 5 Sep 2024 15:06:21 -0700 Subject: [PATCH] fix: remove unneeded pty.wait --- backend/server/src/Terminal.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/backend/server/src/Terminal.ts b/backend/server/src/Terminal.ts index 018ad9b..e30f022 100644 --- a/backend/server/src/Terminal.ts +++ b/backend/server/src/Terminal.ts @@ -35,7 +35,6 @@ export class Terminal { async sendData(data: string) { if (this.pty) { await this.sandbox.pty.sendInput(this.pty.pid, new TextEncoder().encode(data)); - await this.pty.wait(); } else { console.log("Cannot send data because pty is not initialized."); }