D.A.B.Tv0.0.17 Tutorial API DABT Tools ↗ GitHub ↗

tui.focus

tui.focus ID

Focuses a widget. Its pane becomes the keyboard pane.

Notes

  • Redraws only the old and new widget and their pane borders.
  • Focusing a text widget places the cursor for editing.

See also: tui.get.focused, tui.action.unfocus