search mode: fix prompt drawing when aborting selection mode