chore: Miscellaneous minor fixes (#243)

* chore: remove internal use of deprecated NewModel

* chore: miscellaneous comment fixes
This commit is contained in:
Tom Payne
2022-09-15 10:51:42 -04:00
committed by GitHub
parent a4ed54327f
commit 72d87e4513
4 changed files with 14 additions and 17 deletions
+1 -1
View File
@@ -169,7 +169,7 @@ func (m Model) Focused() bool {
}
// Focus sets the focus state on the model. When the model is in focus it can
// receive keyboard input and the cursor will be hidden.
// receive keyboard input and the cursor will be shown.
func (m *Model) Focus() tea.Cmd {
m.focus = true
return m.Cursor.Focus()