1
0
mirror of https://github.com/mum4k/termdash.git synced 2025-04-25 13:48:50 +08:00

Updated Keyboard focus (markdown)

Jakub Sobon 2020-11-24 19:29:25 -05:00
parent 3db07c7a56
commit 6a1aeb56db

@ -1,6 +1,6 @@
[![Doc Status](https://godoc.org/github.com/mum4k/termdash/container?status.png)](https://godoc.org/github.com/mum4k/termdash/container)
Containers track keyboard focus. By default, any keyboard events are only delivered to widget in the focused container. The user changes the focused container by clicking on any area within the container. If the focused container has a border, its color will change according to the value of the [container.FocusedColor](https://godoc.org/github.com/mum4k/termdash/container#FocusedColor) option.
Containers track keyboard focus. By default, any keyboard events are only delivered to the widget in the focused container. The user changes the focused container by clicking on any area within the container. If the focused container has a border, its color will change according to the value of the [container.FocusedColor](https://godoc.org/github.com/mum4k/termdash/container#FocusedColor) option.
Note that widgets can also register for global keyboard events, see the [[Widget API|widget-api]] for more details.