Skip to main content

notification

Function notification 

Source
pub fn notification(
    notice: Notice,
    title: &str,
    body: &str,
    tmux: bool,
) -> String
Expand description

The bytes that show title and body as a notification. Inside tmux they’re wrapped to go past it to the terminal, which tmux allows with allow-passthrough.