From 4ecf784e6833e48f2a931913f6831cecfb8899c2 Mon Sep 17 00:00:00 2001 From: yann300 Date: Mon, 10 May 2021 11:05:23 +0200 Subject: [PATCH] log to the terminal using "pre" tag --- apps/remix-ide/src/app/udapp/run-tab.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/remix-ide/src/app/udapp/run-tab.js b/apps/remix-ide/src/app/udapp/run-tab.js index cc0d2f6ab6..b966287690 100644 --- a/apps/remix-ide/src/app/udapp/run-tab.js +++ b/apps/remix-ide/src/app/udapp/run-tab.js @@ -41,7 +41,7 @@ export class RunTab extends ViewPlugin { this.blockchain = blockchain this.fileManager = fileManager this.editor = editor - this.logCallback = (msg) => { mainView.getTerminal().logHtml(msg) } + this.logCallback = (msg) => { mainView.getTerminal().logHtml(yo`
${msg}
`) } this.filePanel = filePanel this.compilersArtefacts = compilersArtefacts this.networkModule = networkModule