chore: reorganize go code

This commit is contained in:
Aarnav Tale 2025-06-08 08:59:33 -04:00
parent 7a6ad8d2d5
commit 0f9bf73b82
No known key found for this signature in database
28 changed files with 796 additions and 220 deletions

View file

@ -114,6 +114,9 @@ export default function XTerm({ ws, sessionId, queue }: XTermProps) {
return;
}
const size = event.data.byteLength;
console.log(`[WS] Received ${size} bytes at ${Date.now()}`);
const data = new Uint8Array(event.data);
handleFrame(data);
};