Text this: Autoguidance improves IR spectrograph resolution