update_display_cursor: take view as arg