Skip to main content

save_on_last_close

Function save_on_last_close 

Source
pub(crate) fn save_on_last_close(
    store: &Store,
    ws_id: &str,
    name: Option<&str>,
    appearance: &Map<String, Value>,
)
Expand description

The close that empties Client.windowids, before ws_id is kept or deleted: saves that workspace as the session, with the closing window’s name and appearance (read before its row was pruned), unless this close is one of a quit’s that already saved every window.