:-[
This commit is contained in:
parent
237b811a80
commit
5009a393c3
@ -7,10 +7,11 @@
|
|||||||
- ♻️ - Edited
|
- ♻️ - Edited
|
||||||
|
|
||||||
## 0.2.2 - [08/04/2022]
|
## 0.2.2 - [08/04/2022]
|
||||||
- ➕ - Added clear terminal by close program
|
- ➕ - Added by start&close program clear terminal
|
||||||
- ➕ - Add to prompt help helper
|
- ➕ - Added help tooltip to prompt
|
||||||
- ➕ - Added emoji to output
|
- ➕ - Added emoji to output
|
||||||
- ♻️ - Fixed URL color & style output
|
- ✔️ - Fixed BYE emoji color
|
||||||
|
- ♻️ - Edited URL color & style output
|
||||||
|
|
||||||
## 0.2.1 - [14/03/2022]
|
## 0.2.1 - [14/03/2022]
|
||||||
- ➕ - prompt '>' set color green
|
- ➕ - prompt '>' set color green
|
||||||
|
@ -83,6 +83,11 @@ end
|
|||||||
# main loop
|
# main loop
|
||||||
loop = true
|
loop = true
|
||||||
while loop
|
while loop
|
||||||
|
system "clear"
|
||||||
|
|
||||||
|
# pmng title
|
||||||
|
puts "The very simple password manager for humans\n\n".colorize(:yellow).mode(:bold)
|
||||||
|
|
||||||
# shell prompt
|
# shell prompt
|
||||||
print "Enter URL (".colorize(:white).mode(:bold)
|
print "Enter URL (".colorize(:white).mode(:bold)
|
||||||
print ":h".colorize(:red).mode(:bold)
|
print ":h".colorize(:red).mode(:bold)
|
||||||
@ -96,7 +101,7 @@ while loop
|
|||||||
# if ':q' to close program
|
# if ':q' to close program
|
||||||
if password_string.to_s == ":q"
|
if password_string.to_s == ":q"
|
||||||
system "clear"
|
system "clear"
|
||||||
puts "Bye! 👋🏻"
|
puts "Bye! 👋"
|
||||||
exit(0)
|
exit(0)
|
||||||
# if puts empty, retry prompt
|
# if puts empty, retry prompt
|
||||||
elsif password_string.to_s.size == 0
|
elsif password_string.to_s.size == 0
|
||||||
|
Loading…
Reference in New Issue
Block a user