b-steve / acre

Acoustic spatial capture-recapture models
GNU General Public License v3.0
3 stars 1 forks source link

Tell users how to end a seemingly endless stream of `Hit <Return> to see next plot:` messages #33

Open b-steve opened 1 month ago

b-steve commented 1 month ago

When you do things like plot(data, type = "capt"), users can press return to cycle through all the detections to get plots for each one. Similarly, for `plot(data, type = "covariates") users can cycle through all the sessions.

However, if there are lots (e.g., hundreds) of detections, a user has to sit there hitting return a huge number of times before they can actually exit the function and run another line of code. It would help if there was a message to tell him how to exit early. In emacs, I can do so by holding 'cntrl' and tapping 'c' twice. Does that work in general (e.g., for RStudio), or is that an emacs thing?

Could we either have a message saying what they can do to exit early, or perhaps have the message say Hit <Return> to see next plot or q to cancel:, and change the function so that tapping q exits the function?