Skip to main content

field

Function field 

Source
pub fn field(
    style: &PieceStyle,
    field: &Field<'_>,
    held: Held<'_>,
    focused: bool,
    area: Rect,
    buf: &mut Buffer,
) -> u16
Expand description

A question: its label, the box, and its standing help or what is wrong now.

held is what the user has done to it since the screen arrived, which is the argument a description cannot supply. See Held.

focused marks the box rather than the label, because the box is where the typing lands.