Skip to main content

write_text_needs_confirmation

Function write_text_needs_confirmation 

Source
pub fn write_text_needs_confirmation(
    prompt_before_write_text: bool,
    session_approved: bool,
) -> bool
Expand description

Whether this payload must go to the confirmation dialog before it is written.

session_approved is the user’s earlier “Always Allow” for this exact text from this script.