-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cal: avoid split() when formatting a whole year
* When printing month-boxes horizontally I wasn't happy with having to split each month-box string * Make fmt_month() return a list of lines instead * This makes it simpler to combine month-boxes line by line * Some common code moves into print_title()
- Loading branch information
Showing
1 changed file
with
26 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters