Skip to content

Commit

Permalink
fix: use process
Browse files Browse the repository at this point in the history
  • Loading branch information
Shyam-Chen committed Apr 19, 2024
1 parent 39fe709 commit b73171a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion codes/typescript/modules/PrintUtil.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ function showTrunks(p: Trunk | null) {
}

showTrunks(p.prev);
console.log(p.str);
process.stdout.write(p.str);
}

/* 打印堆 */
Expand Down

0 comments on commit b73171a

Please sign in to comment.