pub type PasteHandler<T, S> = fn(String, &MMState<'_, '_, T, S>) -> String;
Returns what should be pushed to input