# frozen_string_literal: true

require_relative "../lib/tty-prompt"

prompt = TTY::Prompt.new

alfabet = ('A'..'Z').to_a

prompt.enum_select('Which letter?', alfabet, per_page: 4)

# frozen_string_literal: true

require_relative "../lib/tty-prompt"

prompt = TTY::Prompt.new

alfabet = ('A'..'Z').to_a

prompt.enum_select('Which letter?', alfabet, per_page: 4, cycle: true, default: 2)

Change example to demonstrate cycling
Change example to demonstrate cycling
