Uses inputbox_keypress_cb to find hints.