Sha256: 6b55a008bcf4dc4e6cfede40d7f02f0d0e14be3d2bdeadae4cbd6f0703c68eb5

Contents?: true

Size: 147 Bytes

Versions: 9

Compression:

Stored size: 147 Bytes

Contents

# encoding: utf-8

require 'tty-prompt'

prompt = TTY::Prompt.new

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

prompt.select('Which letter?', alfabet, per_page: 8)

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
tty-prompt-0.13.2 examples/select_paginated.rb
tty-prompt-0.13.1 examples/select_paginated.rb
tty-prompt-0.13.0 examples/select_paginated.rb
austb-tty-prompt-0.13.0 examples/select_paginated.rb
tty-prompt-0.12.0 examples/select_paginated.rb
tty-prompt-0.11.0 examples/select_paginated.rb
tty-prompt-0.10.1 examples/select_paginated.rb
tty-prompt-0.10.0 examples/select_paginated.rb
tty-prompt-0.9.0 examples/select_paginated.rb