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

Created Keyboard focus (markdown)

Jakub Sobon 2019-03-03 18:44:39 -05:00
parent 5877dc18cb
commit 993c9ae14e

5
Keyboard-focus.md Normal file

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