Commit Graph

19 Commits

Author SHA1 Message Date
Kartik K. Agaram d2138dc774 one more dependency 2022-02-17 22:17:30 -08:00
Kartik K. Agaram 7ee29cec35 copyright notice
Interesting that 'apt source' does not include one.
2022-02-17 20:36:28 -08:00
Kartik K. Agaram 4872a9dfbe rename the command
Also delete docs for now. I don't know how to test manpages.
2022-02-17 14:55:08 -08:00
Kartik K. Agaram fb046c5d9a preserve highlight in the presence of redirects
This was only needed for the new cal format. Old format in printmonthb()
is already fine.
2022-02-17 14:48:44 -08:00
Kartik K. Agaram 6398f526d8 print the selected date to stdout on exit
Doesn't quite work yet in the presence of redirects. For some reason the
highlights disappear.
2022-02-17 14:46:26 -08:00
Kartik K. Agaram 8458d95e8f doc tweaks 2022-02-17 14:46:26 -08:00
Kartik K. Agaram 52e009cf56 arrow keys move the highlighted date 2022-02-17 14:46:26 -08:00
Kartik K. Agaram ccbd5bf9e3 initial readme 2022-02-17 08:25:32 -08:00
Kartik K. Agaram f84f43ac69 drop an intermediate data structure 2022-02-17 08:25:32 -08:00
Kartik K. Agaram 4d87706a3d extract month name computation into a separate fn 2022-02-17 08:25:32 -08:00
Kartik K. Agaram d04acc0e55 tabs 2022-02-17 08:25:32 -08:00
Kartik K. Agaram 0d2e47b598 start working on refactoring mkmonth functions
Ncurses doesn't let me highlight into an intermediate lines buffer.
2022-02-17 08:25:32 -08:00
Kartik K. Agaram f98a8b8f69 update usage string 2022-02-17 08:25:32 -08:00
Kartik K. Agaram 28abec85ad beginning of event loop 2022-02-17 08:25:32 -08:00
Kartik K. Agaram 60ddac472c start using ncurses
For supporting wide characters I'm guided by:
  http://yjlv.blogspot.com/2015/10/displaying-unicode-with-ncurses-in-c.html
2022-02-15 17:04:10 -08:00
Kartik K. Agaram c187d793c6 global -> local 2022-02-15 17:00:00 -08:00
Kartik K. Agaram 2ad490cbb4 disable -h
A date picker doesn't make sense without a highlighted date.
2022-02-15 16:40:06 -08:00
Kartik K. Agaram 5963b62aee make ncal subdirectory self-sufficient 2022-02-15 14:39:58 -08:00
Kartik K. Agaram 70e5f00193 from bsdmainutils 11.1.2ubuntu3 2022-02-15 14:39:30 -08:00