mirror of
https://github.com/python/cpython.git
synced 2025-12-09 10:37:17 +00:00
gh-128317: Highlight today in colour in calendar CLI output (#128318)
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
This commit is contained in:
parent
fa985bee61
commit
f21af186bf
5 changed files with 85 additions and 13 deletions
|
|
@ -6,9 +6,11 @@ COLORIZE = True
|
|||
|
||||
|
||||
class ANSIColors:
|
||||
BACKGROUND_YELLOW = "\x1b[43m"
|
||||
BOLD_GREEN = "\x1b[1;32m"
|
||||
BOLD_MAGENTA = "\x1b[1;35m"
|
||||
BOLD_RED = "\x1b[1;31m"
|
||||
BLACK = "\x1b[30m"
|
||||
GREEN = "\x1b[32m"
|
||||
GREY = "\x1b[90m"
|
||||
MAGENTA = "\x1b[35m"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue