We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 94b6fc5 commit 1344c01Copy full SHA for 1344c01
1 file changed
utils/misc/nodejs-terminal/v2.0/nodejs-terminal-v2.0.html
@@ -498,8 +498,7 @@
498
term.writeln.green('done.');
499
}
500
501
- //await input.write('\u0003'); // Sends Ctrl+C to clear any junk
502
- await input.write('\n'); // Sends Enter to get a clean prompt
+ await prompt();
503
504
}//https-server
505
@@ -536,6 +535,7 @@
536
535
complete.load(file,blob);
537
538
term.writeln.green('snapshot saved');
539
540
}//take-snapsht
541
@@ -575,6 +575,7 @@
575
576
577
term.writeln.green('snapshot loaded');
578
579
580
}//restore-snapshot
581
@@ -948,6 +949,12 @@
948
949
950
951
952
+ async function prompt(){
953
+
954
+ //await input.write('\u0003'); // Sends Ctrl+C to clear any junk
955
+ await input.write('\n'); // Sends Enter to get a clean prompt
956
957
+ }//prompt
958
959
960
</script>
0 commit comments