Function render_text_input
Source pub fn render_text_input(
frame: &mut Frame<'_>,
area: Rect,
state: &TextInputState,
colors: &TextInputColors,
field_width: u16,
) -> TextInputLayout
Expand description
Render a text input control
§Arguments
frame - The ratatui frame to render to
area - Rectangle where the control should be rendered
state - The text input state
colors - Colors for rendering
field_width - Width of the input field (not including label)
§Returns
Layout information for hit testing