readline pause/resume