class RatatuiRuby::LineGauge

Displays a compact, single-line progress bar.

Screen space is precious. Standard block gauges are bulky and consume multiple rows.

This widget compresses the feedback. It draws a progress bar using line characters, fitting perfectly into tight layouts or lists.

Use it when you need to show status without stealing focus or space.

Examples

LineGauge.new(
  ratio: 0.4,
  filled_style: Style.new(fg: :blue),
  unfilled_symbol: "-"
)