1
0
Fork 0
mirror of https://github.com/nishiki/manage-password.git synced 2024-11-23 13:57:52 +00:00

use ligth_black for port and protocol

This commit is contained in:
Adrien Waksberg 2017-05-09 13:56:52 +02:00
parent 192a14ea96
commit 09e451bf3b

View file

@ -241,9 +241,9 @@ module MPW
item.otp ? (print ' X ') : 4.times { print ' ' } item.otp ? (print ' X ') : 4.times { print ' ' }
when :host when :host
print "#{item.protocol}://" if item.protocol print "#{item.protocol}://".light_black if item.protocol
print item.host.send(v[:color]) print item.host.send(v[:color])
print ":#{item.port}" if item.port print ":#{item.port}".light_black if item.port
(v[:length] - item.url.to_s.length).times { print ' ' } (v[:length] - item.url.to_s.length).times { print ' ' }
else else