diff --git a/src/index.js b/src/index.js index 9361e8f..1ac9ac3 100644 --- a/src/index.js +++ b/src/index.js @@ -134,6 +134,7 @@ process.stdin.on("data", async function (key) { ); } } else { + key = key.replace("\u001b", ""); process.stdout.write(key); comcord.state.promptInput += key; }