From 5543c4d7e188fdd3fdff7cb6c58f6a1de195c203 Mon Sep 17 00:00:00 2001 From: Ginger <75683114+gingerindustries@users.noreply.github.com> Date: Sat, 23 Dec 2023 16:05:23 +0000 Subject: [PATCH] Handle newlines correctly in terminal --- src/latest/js/runner.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/latest/js/runner.tsx b/src/latest/js/runner.tsx index 7257b9b..2d0ce4f 100644 --- a/src/latest/js/runner.tsx +++ b/src/latest/js/runner.tsx @@ -22,6 +22,7 @@ export class VyRunner extends EventTarget { if (this.terminal != null) throw new Error("Already attached"); this.terminal = new Terminal({ scrollback: 1000, + convertEol: true, }); this.fit = new FitAddon(); this.terminal.loadAddon(this.fit);