2
0
mirror of https://github.com/rivo/tview.git synced 2024-11-17 03:26:09 +00:00

Merge pull request #669 from codesoap/master

Fix typo "SetPlaceholderStyle" in comment for GetPlaceholderStyle
This commit is contained in:
rivo 2021-11-09 18:22:57 +01:00 committed by GitHub
commit f8d4ce40c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -199,7 +199,7 @@ func (i *InputField) SetPlaceholderStyle(style tcell.Style) *InputField {
return i return i
} }
// SetPlaceholderStyle returns the style of the input area (when a placeholder // GetPlaceholderStyle returns the style of the input area (when a placeholder
// is shown). // is shown).
func (i *InputField) GetPlaceholderStyle() tcell.Style { func (i *InputField) GetPlaceholderStyle() tcell.Style {
return i.placeholderStyle return i.placeholderStyle