Skip to content

Commit 8dc359f

Browse files
save file
1 parent e12c800 commit 8dc359f

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

utils/misc/nodejs-terminal/html/webcontainer-terminal/webcontainer-terminal.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
var fitaddon;
5353

5454
var shell;
55-
55+
obj.shell = null;
5656
var input;
5757
var output;
5858

@@ -213,7 +213,9 @@
213213

214214
function complete(result){
215215

216-
shell = result;
216+
shell = result;
217+
obj.shell = shell;
218+
217219
s3.stop();
218220
term.write.xy(14,0,`${colors.green}ok.${colors.reset}`);
219221
shell.output.pipeTo(output);

0 commit comments

Comments
 (0)