lib/tty/reader/completions.rb
# Move index to the previous completion
#
# @api public
Move index to the previous completion
Move index to the previous completion
def previous
        return if size.zero?
        if @index.zero?
          @index = size - 1
        else
          @index -= 1
        end
      end
def previous return if size . zero? if @index . zero? @index = size - 1 else @index -= 1 end end
Move index to the previous completion
Move index to the previous completion
api
None