Skip to main content

doas_persist_instruction_lines

Function doas_persist_instruction_lines 

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

What: Build scrollable instruction lines for the doas persist setup wizard.

Inputs:

  • app: Application state for localized strings.
  • choice: Selected persist setup profile.

Output:

  • Owned lines for the instructions pane.

Details:

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