cswap-bend-cli
Search uses release 0.1.0.0 · 4,210 definitions
Definitions (4,210)
- def plain
- def muted
- def cat
- def alias_of
- def names_pick
- def names"alias (email)" with the alias in the accent colour, or just the email.
- def tag_of
- def flag_if
- def age_noteThe measurement age note, shown once a reading is at least 3 minutes old.
- def is_stale
- def tail_flags
- def head_line
- def label_width
- def bar_width
- def reset_short"resets 2h 13m" (or "resets now"); empty when no reset is known.
- def reset_fullThe same with the local clock time of the reset: "resets 2h 13m · 20:39".
- def is_model
- def is_full
- def maxed
- def mark
- def pick_suffix
- def suffixThe suffix of a row: the clock form where it fits, a (!) for a maxed model.
- def pct_seg
- def pad2
- def view_width
- def roomColumns left for the suffix after indent, label, bar, percent and gap.
- def row_headThe indent, the label and the bar of a row.
- def rowOne row: indent, label, bar, percent, suffix.
- def rows
- def unavailable
- def card_rows
- def cardThe full card of the active account.
- def reset_in
- def pct_part
- def part_pick
- def mini_part
- def push_part
- def mini_parts
- def joined_rest
- def joined
- def mini_body
- def mini_head
- def miniAn inactive account on one line: "2 work@acme.dev [personal] 5h 92% · 7d 63%".
- type RoleWhat a segment looks like.
- type SegA run of text in one style; `dim` fades it (a stale measurement).
- def sg
- def sel.s
- def sel.u
- def spaces
- def pad_rightPad on the right / left to `w` characters (never truncates).
- def pad_left
- def round_evenCenti-percent (4750 = 47.5 %) to a whole percent, halves to even as Python's `f"{pct:.0f}"` does.
- def pct_text" 47%" (width 4), as the reference's `{pct:3.0f}%`.
- def hm
- def dh
- def durationThe shortest honest duration: 45s, 12m, 2h 13m, 2h, 3d 4h, 3d.
- def seg_len
- def line_len
- def cut
- def take_pick
- def take_charsThe first `n` characters of a line.
- def ellipsized
- def fit_if
- def fitA line no wider than `w`: longer ones end in an ellipsis.
- def sev_ok
- def sev_warn
- def sev_pick
- def severityBar colour from the centi-percent: red from 90 %, amber from 70 %.
- def is_tick
- def cell_kind
- def cell
- def cells`n` cells from index `i`.
- def tick_atWhere the threshold tick sits: round(threshold / 100 * width), kept in range.
- def barA usage bar of `w` cells for a centi-percent (None: an empty track).