ecs refactor

This commit is contained in:
Matthieu Jolimaitre 2024-04-09 04:25:34 +02:00
parent 28b026a614
commit f2e5d13000
8 changed files with 410 additions and 170 deletions

View file

@ -55,7 +55,7 @@ class InputHandler {
const command = new Deno.Command("stdbuf", { args, stdin: "inherit", stdout: "piped" });
const output = await command.output();
const result = new TextDecoder().decode(output.stdout);
console.log(`${String.fromCharCode(0x08)} `);
console.log(`${String.fromCharCode(0x08)} ${String.fromCharCode(0o33)}[A`);
return result[0];
}