diff --git a/assets/game.html b/assets/game.html
index 8afd00d..08806d9 100644
--- a/assets/game.html
+++ b/assets/game.html
@@ -16,7 +16,6 @@
}
-
diff --git a/src/index.ts b/src/index.ts
index a181073..871867b 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -44,7 +44,8 @@ function connectTerm() {
});
webSocket.addEventListener('message', (msg) => {
fit.fit();
- term.write(msg.data);
+ term.write(msg.data.replaceAll("\r", "")
+ .replaceAll("\n", "\r\n"));
});
}