BB.TUI.State.UI (BB.TUI v0.1.0)

Copy Markdown View Source

View chrome state, split out of BB.TUI.State.

active_panel is the focused panel; show_help? toggles the help overlay and help_scroll_offset scrolls it; throbber_step advances the spinner animation.

Summary

Types

t()

@type t() :: %BB.TUI.State.UI{
  active_panel: :safety | :commands | :joints | :events | :parameters,
  help_scroll_offset: non_neg_integer(),
  show_help?: boolean(),
  throbber_step: non_neg_integer()
}