Skip to contents

Print an informational 'separator' rule with a preceding blank line

Usage

cat_rule_sep(title = NULL, width = NULL)

Arguments

title

The title to print for the rule, or NULL for none. Default: NULL

width

The rule width, or NULL for half the console width. Default: NULL

Value

The value returned by cli::cat_rule()

Examples

cat_rule_sep()
#> 
#> ────────────────────────────────────────
cat_rule_sep("An informational message")
#> 
#> ── An informational message ────────────
cat_rule_sep("An informational message", width = cli::console_width())
#> 
#> ── An informational message ────────────────────────────────────────────────────