pub fn act(style: &PieceStyle, act: &Act<'_>, focused: bool) -> Line<'static>Expand description
A control as one line.
< Label > (key), and the key only where the description named one. That
member is the one place makeover-layout anticipated a terminal before there
was one, and this is the renderer that reads it.
A disabled control is drawn muted and is not marked focused, whatever the
caller passed: it is present, visible and not answering, so a focus mark on
it would be an affordance that lies. Whether it is reachable at all is the
caller’s count to keep — ask Act::disabled.