1
0
Fork 0
mirror of https://github.com/nishiki/manage-password.git synced 2025-02-20 01:50:04 +00:00

minor fix in list_keys interface

This commit is contained in:
Adrien Waksberg 2017-02-16 23:25:54 +01:00
parent 362253c63b
commit e17219c772

View file

@ -123,11 +123,12 @@ class Cli
length += 7
puts "\n#{I18n.t('display.keys')}".red
print ' '
length.times { print '=' }
print "\n"
@mpw.list_keys.each do |key|
print " #{i}".cyan
print " #{i}".cyan
(3 - i.to_s.length).times { print ' ' }
puts "| #{key}"
i += 1