Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added warning label and modified info from '[!]' to '[*]' #36

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ bold, bg, under, strike, italic
#### List of all labels

```python
info, que, run, bad, good
info, que, run, bad, good, warn
```

**Note:** Windows versions below windows 10 do not support ANSI escape sequences so the colors will not be printed in command prompt.
Expand Down
5 changes: 3 additions & 2 deletions huepy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@

__all__ = ['bad', 'bg', 'black', 'blue', 'bold', 'cyan', 'good', 'green',
'grey', 'info', 'italic', 'lblue', 'lightblue', 'lcyan', 'lgreen',
'lightgreen', 'lpurple', 'lightpurple', 'lred', 'lightred','orange',
'purple', 'que', 'red', 'run','strike', 'under', 'white', 'yellow']
'lightgreen', 'lpurple', 'lightpurple', 'lred', 'lightred',
'orange', 'purple', 'que', 'red', 'run', 'strike', 'under', 'warn',
'white', 'yellow']

__version__ = '1.2.1'

Expand Down
5 changes: 3 additions & 2 deletions huepy/huepy.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@
print_mode = False

COMMANDS = {
# Lables
'info': (33, '[!] '),
# Labels
'warn': (33, '[!] '),
'info': (96, '[*] '),
'que': (34, '[?] '),
'bad': (31, '[-] '),
'good': (32, '[+] '),
Expand Down