Skip to main content

detail

Function detail 

Source
pub fn detail(row: &Yaml, w: usize) -> Vec<String>
Expand description

One record’s fields, its attributes, then its events and links — each section a two-column Table under a rule.

The key column is measured from the data rather than fixed, and measured across every section so the values line up down the whole pane. That is the bug this fixes: the hand-rolled version wrote {k:<26}, which pads a short key and does nothing at all to a long one, so deployment.environment.name — 27 characters — rendered as deployment.environment.nameprod.