Skip to content

Commit a691555

Browse files
save file
1 parent c35d348 commit a691555

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

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

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -736,14 +736,12 @@
736736

737737
var output = new WritableStream({
738738
write(data){
739-
console.log(data);
739+
//console.log(data);
740740
var str = data;
741741
str = str.replaceAll('\r','');
742742
var lines = str.split('\n');
743743
lines.forEach(line=>{
744-
745-
//console.log('Hex:', [...line].map(c => c.charCodeAt(0).toString(16).padStart(2, '0')).join(' '));
746-
744+
//console.log('Hex:',[...line].map(c=>c.charCodeAt(0).toString(16).padStart(2,'0')).join(' '));
747745
if(line.startsWith('\x1b[J') && line.indexOf('\x1b[39m')!=-1){
748746
var i1;
749747
var i;

0 commit comments

Comments
 (0)