mirror of
https://github.com/nishiki/manage-password.git
synced 2024-11-23 05:47:53 +00:00
use ligth_black for port and protocol
This commit is contained in:
parent
192a14ea96
commit
09e451bf3b
1 changed files with 2 additions and 2 deletions
|
@ -241,9 +241,9 @@ module MPW
|
|||
item.otp ? (print ' X ') : 4.times { print ' ' }
|
||||
|
||||
when :host
|
||||
print "#{item.protocol}://" if item.protocol
|
||||
print "#{item.protocol}://".light_black if item.protocol
|
||||
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 ' ' }
|
||||
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue