added to user prompt help tooltip

This commit is contained in:
Alexander Popov 2022-04-08 16:11:44 +03:00
parent 9818b43f80
commit 71c6fbce7c
Signed by: iiiypuk
GPG Key ID: 3F76816AEE08F908
2 changed files with 7 additions and 1 deletions

View File

@ -7,6 +7,7 @@
- ♻️ - Edited
## 0.2.2 - [08/04/2022]
- - Add to prompt help helper
- - Added emoji to output
- ♻️ - Fixed URL color & style output

View File

@ -83,8 +83,13 @@ end
loop = true
while loop
# shell prompt
print "Enter URL (or :q for exit)\n".colorize(:white).mode(:bold)
print "Enter URL (".colorize(:white).mode(:bold)
print ":h".colorize(:red).mode(:bold)
print " for help or ".colorize(:white).mode(:bold)
print ":q".colorize(:red).mode(:bold)
print " for exit)\n".colorize(:white).mode(:bold)
print "> ".colorize(:green).mode(:bold)
password_string = gets
# if ':q' to close program