Skip to main content

apply_replacement

Function apply_replacement 

Source
pub(crate) async fn apply_replacement(
    state: &AppState,
    replaced_window_id: &str,
    target_window_id: &str,
) -> Vec<Event>
Expand description

Copy onto target_window_id what a row takes from the row it replaces (REPLACED_KEYS). Returns the events to publish; empty when there is nothing to copy.