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 2019-03-03 18:46:42 -05:00
parent bec249f70c
commit 86f4165214

@ -1,5 +1,3 @@
## Keyboard focus
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 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. Note that widgets can also register for global keyboard events, see the [[Widget API|widget-api]] for more details.