Module display

Module display 

Source
Expand description

Colored terminal output with today highlighting. Colored terminal output for the calendar.

Renders month grids with ANSI colors: today is highlighted with reverse video, titles are bold. Respects --no-color and the NO_COLOR env variable. In Persian mode, lines are wrapped with Unicode LTR embedding characters to prevent BiDi reordering.

Functionsยง

print_month
Render a single month with color highlighting for today.
print_months
Render multiple months side-by-side and print them.
print_year
Render a full year and print it.