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

Merge remote-tracking branch 'rivo/master'

This commit is contained in:
Brendan Bosman 2022-07-07 22:16:34 +02:00
commit 8c43f7c856
2 changed files with 4 additions and 3 deletions

1
.github/FUNDING.yml vendored Normal file
View File

@ -0,0 +1 @@
github: rivo

View File

@ -771,9 +771,9 @@ func (a *Application) ResizeToFullScreen(p Primitive) *Application {
return a
}
// SetFocus sets the focus on a new primitive. All key events will be redirected
// to that primitive. Callers must ensure that the primitive will handle key
// events.
// SetFocus sets the focus to a new primitive. All key events will be directed
// down the hierarchy (starting at the root) until a primitive handles them,
// which per default goes towards the focused primitive.
//
// Blur() will be called on the previously focused primitive. Focus() will be
// called on the new primitive.