Skip to main content

confirm

Function confirm 

Source
pub fn confirm(title: &str, body: &str) -> bool
Expand description

Ask the user body in a native dialog, zenity (GNOME and most desktops) or else kdialog (KDE): a separate program no page or agent in AgentMux can click. true only for an explicit “Upgrade & restart”. With neither installed, nothing restarts: the new version is staged, and the user can start it.