Skip to content

Commit add6ca9

Browse files
save file
1 parent 25f7782 commit add6ca9

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -356,6 +356,7 @@
356356
console.log('prompt');
357357
//await input.write('\u0003'); // Sends Ctrl+C to clear any junk
358358
await input.write('\n'); // Sends Enter to get a clean prompt
359+
term.focus();
359360

360361
}//prompt
361362

0 commit comments

Comments
 (0)