Skip to content

Commit 43b8cc9

Browse files
committed
fix(terminal): simplify clearScreen method comments for clarity
1 parent 050f76a commit 43b8cc9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/_terminal-utils.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,7 @@ export class TerminalManager {
6262
*/
6363
clearScreen(): void {
6464
if (this.stream.isTTY) {
65-
// Use readline to clear and reposition cursor - this is more reliable
66-
// than ANSI escape sequences in some environments
65+
// Use readline to clear and reposition cursor
6766
readline.cursorTo(this.stream, 0, 0);
6867
readline.clearScreenDown(this.stream);
6968
// Reset line counter for next content

0 commit comments

Comments
 (0)