fix: deprecate CursorStyle in favour of Cursor.Style

This commit is contained in:
Maas Lalani
2023-04-08 14:19:53 -04:00
parent 8865e0675a
commit ab1f7134e4
2 changed files with 4 additions and 2 deletions
+3 -1
View File
@@ -95,7 +95,9 @@ type Model struct {
PromptStyle lipgloss.Style
TextStyle lipgloss.Style
PlaceholderStyle lipgloss.Style
CursorStyle lipgloss.Style
// Deprecated: use Cursor.Style instead.
CursorStyle lipgloss.Style
// CharLimit is the maximum amount of characters this input element will
// accept. If 0 or less, there's no limit.