fn highlight_command_with_indices( cmd: &str, match_indices: &[u32], max_len: usize, ) -> Vec<(String, bool)>