This commit is contained in:
Alexander Popov 2022-04-08 16:30:33 +03:00
parent 237b811a80
commit 5009a393c3
Signed by: iiiypuk
GPG Key ID: 3F76816AEE08F908
2 changed files with 10 additions and 4 deletions

View File

@ -7,10 +7,11 @@
- ♻️ - Edited
## 0.2.2 - [08/04/2022]
- - Added clear terminal by close program
- - Add to prompt help helper
- - Added by start&close program clear terminal
- - Added help tooltip to prompt
- - Added emoji to output
- ♻️ - Fixed URL color & style output
- ✔️ - Fixed BYE emoji color
- ♻️ - Edited URL color & style output
## 0.2.1 - [14/03/2022]
- - prompt '>' set color green

View File

@ -83,6 +83,11 @@ end
# main loop
loop = true
while loop
system "clear"
# pmng title
puts "The very simple password manager for humans\n\n".colorize(:yellow).mode(:bold)
# shell prompt
print "Enter URL (".colorize(:white).mode(:bold)
print ":h".colorize(:red).mode(:bold)
@ -96,7 +101,7 @@ while loop
# if ':q' to close program
if password_string.to_s == ":q"
system "clear"
puts "Bye! 👋🏻"
puts "Bye! 👋"
exit(0)
# if puts empty, retry prompt
elsif password_string.to_s.size == 0