Documentation
¶
Overview ¶
Package tabs demonstrates pkg/tab as the layout primitive of a host screen. Three independent sub-screens — a filterable list, a streaming logview, and a counter — coexist behind a single-row tab strip. Each tab preserves its own state across switches: the logview keeps appending lines while the user is on the cities tab, the list keeps its cursor and filter, and the counter keeps its tally.
shift+left / shift+right and 1/2/3 switch tabs. tab/shift+tab is left alone (reserved for inner pane focus cycling, per the library convention). "/" only triggers the active body's filter or search; the tab strip suppresses its switch keys while the active body is capturing input.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.