diff --git a/src/components/ewt-console.ts b/src/components/ewt-console.ts index 669c660..f55f2ef 100644 --- a/src/components/ewt-console.ts +++ b/src/components/ewt-console.ts @@ -186,8 +186,8 @@ export class EwtConsole extends HTMLElement { const command = input.value; const encoder = new TextEncoder(); const writer = this.port.writable!.getWriter(); - await writer.write(encoder.encode(command)); - this._console!.addLine(`> ${command}\n`); + await writer.write(encoder.encode(command + "\r\n")); + this._console!.addLine(`> ${command}\r\n`); input.value = ""; input.focus(); try {