Skip to content

Commit

Permalink
emscripten: create console before running program
Browse files Browse the repository at this point in the history
  • Loading branch information
angros47 authored and jayrm committed Dec 6, 2020
1 parent be801fe commit c53691e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/fb_shell.html
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,11 @@
var spinnerElement = document.getElementById('spinner');

var Module = {
preRun: [],
preRun: [function() {
__fb_rtlib.console.open(80, 25);
}],
postRun: [],

postRun: [function() {
__fb_rtlib.console.open(80, 25);
}],
Expand Down

0 comments on commit c53691e

Please sign in to comment.