BB.TUI.Panels.TabBar (BB.TUI v0.3.0)

Copy Markdown View Source

Top-level tab bar — shows Control Panel and Visualization, highlighting the active tab. Pure function — takes the active tab atom, returns a widget struct.

Summary

Functions

Renders the tab bar as a Paragraph whose rich %Line{} highlights active_tab.

Functions

render(active_tab)

@spec render(atom()) :: struct()

Renders the tab bar as a Paragraph whose rich %Line{} highlights active_tab.