Skip to content

Commit

Permalink
new color support
Browse files Browse the repository at this point in the history
  • Loading branch information
joamag committed Apr 17, 2018
1 parent 887c090 commit fb0081e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/appier_console/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,7 @@ def ctx_loader(*args, **kwargs):
thread.join()

def colored(value, color = COLOR_RED):
color = COLORS.get(color, color)
return color + value + COLOR_RESET

if __name__ == "__main__":
Expand Down

0 comments on commit fb0081e

Please sign in to comment.