docs: clarify cursor color comment in writer.go

Co-authored-by: JanDeDobbeleer <2492783+JanDeDobbeleer@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2025-12-30 08:23:36 +00:00
co-authored by JanDeDobbeleer
parent cdc85883fc
commit 459649b40d
+2 -2
View File
@@ -187,8 +187,8 @@ func CursorColor(colorStr string) string {
return ""
}
// Convert hex color to the format terminals expect
// OSC 12 accepts hex colors directly (e.g., #FF00FF)
// OSC 12 escape sequence to set cursor color
// resolvedColor is in ANSI format (e.g., 38;2;255;0;255)
return fmt.Sprintf(formats.Osc12, string(resolvedColor))
}