Skip to content

Commit 5a0dfd9

Browse files
committed
fix(console): ensure cursor visibility on reset for improved terminal state
1 parent b26beaa commit 5a0dfd9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/console/console.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ func Print(a ...interface{}) {
8383
// Reset ensures the cursor is visible and terminal is in a normal state.
8484
func Reset() {
8585
_ = os.Stdout.Sync()
86+
fmt.Print("\033[?25h")
8687
}
8788

8889
func ClearPreviousLine() {

0 commit comments

Comments
 (0)