Skip to main content

input_snapshot

Function input_snapshot 

Source
pub fn input_snapshot(text: &str) -> String
Expand description

Build a privacy-safe InputChanged payload: redact secret-looking tokens, then keep only the trailing INPUT_SNAPSHOT_MAX_CHARS chars (the tail is what the user is currently typing).