piotrmurach / tty-prompt

A beautiful and powerful interactive command line prompt
https://ttytoolkit.org
MIT License
1.47k stars 136 forks source link

Allow wrap-around when using arrow keys to change selection #194

Closed vinnydiehl closed 1 year ago

vinnydiehl commented 1 year ago

Steps to reproduce the problem

Actual behaviour

Nothing happens.

Expected behaviour

It wraps around to the other end.

piotrmurach commented 1 year ago

Hi Vinny 👋

Thank you for using tty-prompt.

The :cycle option described in the documentation for the select prompt does what you need.

Please bear in mind before you open a ticket on any open-source project to do the following first:

  1. Read the documentation.
  2. Search open and closed issues.
  3. Search the Discussions forum.

As you can appreciate being an open source developer takes valuable resource - time. I'd like to spend it on developing open source. Please support me by being considerate with future issue reports. Thank you.

vinnydiehl commented 1 year ago

D'oh! 🤦 Look at me, stupid user, read the docs, how embarrassing. Thanks for the great library, and for being so cordial and helpful.