Vibe.TUI.Renderable protocol (vibe v0.2.2)

Copy Markdown View Source

Protocol for rendering semantic UI values into TUI lines with stable cache keys.

Summary

Types

t()

All the types that implement this protocol.

Types

t()

@type t() :: term()

All the types that implement this protocol.

Functions

render(value, context)

@spec render(t(), Vibe.TUI.RenderContext.t()) :: [IO.chardata()]

render_key(value, context)

@spec render_key(t(), Vibe.TUI.RenderContext.t()) :: term()