package uv

// CursorShape represents a terminal cursor shape.
type CursorShape int

// Cursor shapes.
const (
	CursorBlock CursorShape = iota
	CursorUnderline
	CursorBar
)

// Encode returns the encoded value for the cursor shape.
func ( CursorShape) ( bool) int {
	// We're using the ANSI escape sequence values for cursor styles.
	// We need to map both [style] and [steady] to the correct value.
	 = ( * 2) + 1 //nolint:mnd
	if ! {
		++
	}
	return int()
}