pub fn key_updates_search(key: KeyEvent) -> bool
Check if the key event would cause a history search update