Use y-or-n-p in terminal mode.