# tui/dock/focus Give the dock keyboard focus: key and text events route to the app's `dock-event` method with `:dock true`, and the panel's widget tree / `on-key` path is suspended until `tui/dock/blur` or a click on the panel content. ## Syntax
[tui/dock/focus]
## Examples
[tui/dock/focus]   # type into a dock search field
## Returns bool — true when the request was queued; false under the same workspace/panel guards as `tui/dock/open`. Dock focus is exclusive process-wide (focusing one dock blurs every other), and the main loop no-ops when no dock is open. ## See Also `tui/dock/blur`, `tui/dock/focused?`, `tui/dock/state`