Skip to content

ui ¤

A few helpers for making things print pretty-like.

Functions:

Attributes:

title_position module-attribute ¤

title_position = add_param(
    "banner-title-position",
    "center",
    "banner title position",
    param_class=PARAM_ENUM,
    enum_sequence=["center", "left", "right"],
)

banner ¤

banner(title, target=stdout, width=None, extra='')

addrsz ¤

addrsz(address) -> str

get_window_size ¤

get_window_size(target=stdout)

get_cmd_window_size ¤

get_cmd_window_size()