ansi_escape/examples/simple_colors.py

10 lines
485 B
Python

import ansi_escape
print(ansi_escape.set("underline"))
print(ansi_escape.color("ul", "bright-black") + "aa")
print(ansi_escape.color("bg", "bright-red") + " ")
print(ansi_escape.color("bg", "bright-green") + " ")
print(ansi_escape.color("bg", "bright-yellow") + " ")
print(ansi_escape.color("bg", "bright-blue") + " ")
print(ansi_escape.color("bg", "bright-magenta") + " ")
print(ansi_escape.color("bg", "bright-cyan") + " ")
print(ansi_escape.color("bg", "bright-white") + " ")