log to the terminal using "pre" tag

pull/1172/head
yann300 4 years ago
parent 4aa89a2581
commit 4ecf784e68
  1. 2
      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`<pre>${msg}</pre>`) }
this.filePanel = filePanel
this.compilersArtefacts = compilersArtefacts
this.networkModule = networkModule

Loading…
Cancel
Save