Skip to content

Commit

Permalink
fix: set cursor style sequence (#229)
Browse files Browse the repository at this point in the history
  • Loading branch information
caarlos0 authored Oct 30, 2024
1 parent 3ef5e7b commit d8ba93c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ansi/cursor.go
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ func SetCursorStyle(style int) string {
if style < 0 {
style = 0
}
return "\x1b[" + strconv.Itoa(style) + " q"
return "\x1b[" + strconv.Itoa(style) + "q"
}

// SetPointerShape returns a sequence for changing the mouse pointer cursor
Expand Down

0 comments on commit d8ba93c

Please sign in to comment.