Skip to content

Commit 02813bd

Browse files
save file
1 parent a717c71 commit 02813bd

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

utils/misc/nodejs-terminal/v3.0/nodejs-terminal-v3.0.html

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@
9494

9595
console.log('ls',ls);
9696
if(typeof ls!='function')debugger;
97+
9798
ls = ls();
9899

99100

@@ -1319,10 +1320,11 @@
13191320

13201321

13211322

1323+
mod.stack.add;
1324+
13221325
(async()=>{
13231326

1324-
mod.stack.add;
1325-
1327+
13261328
[{Terminal},{FitAddon},{WebContainer}] = await Promise.all([
13271329
import('https://cdn.jsdelivr.net/npm/@xterm/xterm/+esm'),
13281330
import('https://cdn.jsdelivr.net/npm/@xterm/addon-fit/+esm'),
@@ -1334,6 +1336,7 @@
13341336
//term.write('booting container ... ');
13351337
//var s = spinner();
13361338
webcontainer = await WebContainer.boot({workdirName});
1339+
13371340
mod.stack.complete;
13381341
//s.stop();
13391342
//term.writeln.green('ok.'); //24

0 commit comments

Comments
 (0)