Vibe.TUI.Widgets.Image (vibe v0.2.2)

Copy Markdown View Source

TUI widget for inline terminal images with text fallback.

Summary

Types

t()

@type t() :: %Vibe.TUI.Widgets.Image{
  image: Vibe.Model.Content.Image.t(),
  max_width_cells: pos_integer()
}

Functions

new(image, opts \\ [])

@spec new(
  Vibe.Model.Content.Image.t(),
  keyword()
) :: t()