style_convert: Format and parse style strings

Description Usage Arguments Value Examples

Description

Functions to convert a style string to a named list and back.

Usage

1
2
3

Arguments

...

Named strings and logicals or one named list. Colors and attributes.

x

A string.

Value

A string or named list.

Examples

1
2
3
4
5
## Not run: 
strfstyle(fg = "red", bg = "#00ff00", blink = TRUE, align = FALSE)
strpstyle("fg=red,bg=#00ff00,blink,noalign")

## End(Not run)

tmuxr documentation built on July 1, 2020, 5:19 p.m.