pub fn incremental_text(text: &str, last_pending_output: &str) -> String
Get incremental text output by comparing old and new terminal states