Skip to main content

sudo_timestamp_instruction_lines

Function sudo_timestamp_instruction_lines 

Source
pub fn sudo_timestamp_instruction_lines(
    app: &AppState,
    choice: SudoTimestampChoice,
) -> Vec<Line<'static>>
Expand description

What: Build scrollable instruction lines for the sudo timestamp setup wizard.

Inputs:

  • app: Application state for localized strings.
  • choice: Selected timestamp_timeout mapping.

Output:

  • Owned lines for the instructions pane (excluding the modal title block).

Details:

  • Used by the renderer and by the key handler for scroll clamping.