summaryrefslogtreecommitdiff
path: root/Userland/cal.cpp
AgeCommit message (Collapse)Author
2019-12-24Userland: Add support for printing multiple columns to the cal commandAndrés Vieira
Now cal is able to print the entire year when only that is passed as an argument. For example: `cal 1992`. However this meant breaking the highlighted day escape sequence as it messed up the layout and the character count for each of the rows :( Now the current day is specified like 17* (for example for day 17).
2019-12-02Userland: Add the cal command (#838)Andrés Vieira
This is a very simple implementation of the cal command to display a calendar into the command line. For now this only prints the current month highlighting the current day.