Skip to main content

resume_break_event

Function resume_break_event 

Source
fn resume_break_event(
    kind: BreakKind,
    s: &Settings,
    intensity: f32,
) -> BreakEvent
Expand description

Re-fire the most recently skipped/postponed break with the current profile’s full settings (duration, hints, enforceability). Shared by the renderer command and the tray menu handler. Errors with "no break to resume" when the slot is empty.