status_bar: One-line status bar

View source: R/widget-workflows.R

status_barR Documentation

One-line status bar

Description

Displays left, centered and right status text in one terminal row. On a narrow screen it preserves the left region first, then the right region, and truncates the center region first. Truncation respects terminal cell widths and grapheme boundaries. Each value may be a no-argument reactive function that reads signal()s.

Usage

status_bar(
  left = "",
  center = "",
  right = "",
  id = NULL,
  classes = NULL,
  style = NULL,
  disabled = FALSE
)

Arguments

left, center, right

Text for the three regions.

id

Optional identifier.

classes

Optional classes.

style

A style().

disabled

Disable the widget?

Value

A StatusBar widget with reactive left, center, and right fields.

Examples

status_bar("SQLite :memory:", "127 rows", "8 ms")

termr documentation built on Oct. 21, 2026, 5:13 p.m.