how does cursor auto mode work