From d8ba93caff908025ff8ddf7d34c97e9447557078 Mon Sep 17 00:00:00 2001 From: Carlos Alexandro Becker Date: Wed, 30 Oct 2024 11:24:59 -0300 Subject: [PATCH] fix: set cursor style sequence (#229) --- ansi/cursor.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansi/cursor.go b/ansi/cursor.go index 8a917b2d..e8c589ab 100644 --- a/ansi/cursor.go +++ b/ansi/cursor.go @@ -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