summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Revert "src/screen.c: Drop unneeded #include"Patrick McDermott2019-10-191-0/+1
| | | | | | This reverts commit 1235a5c62e606a16937c832c7b676d7aeb4e70e7. Needed for STDIN_FILENO.
* src/screen.c: Drop unneeded #includePatrick McDermott2019-10-191-1/+0
| | | | sleep() was removed in 0c8ff11.
* screen_main(): Poll inputPatrick McDermott2019-10-191-2/+10
|
* screen_main(): Handle KEY_RESIZEPatrick McDermott2019-10-181-0/+6
|
* clock_clear(): New functionPatrick McDermott2019-10-182-0/+21
|
* error(): Type-check args against format stringPatrick McDermott2019-10-141-1/+1
| | | | | | | | | Silences: src/main.c: In function ‘error’: src/main.c:49:2: warning: function might be possible candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] vfprintf(stderr, format, ap); ^~~~~~~~
* main(): Use argcPatrick McDermott2019-10-141-0/+1
|
* Fix GPL versionPatrick McDermott2019-10-147-14/+14
| | | | | I don't know how or why I ended up applying GPLv2. I must have copied from one of my GPLv2-or-later projects and not noticed the error.
* screen_main(): Exit on Esc keyPatrick McDermott2019-10-141-0/+9
|
* screen_main(): Filter out multi-char keysPatrick McDermott2019-10-131-0/+1
| | | | For example, "ESC [ A" is the up key.
* screen_new(): Draw in red on blackPatrick McDermott2019-10-131-0/+5
|
* screen_main(): Implement basic event loopPatrick McDermott2019-10-131-5/+23
|
* screen_draw(): Rename to screen_main()Patrick McDermott2019-10-133-8/+23
|
* clock_*(): New functionsPatrick McDermott2019-10-135-1/+262
| | | | And create and draw the clock on the screen.
* screen_new(): Free screen on errorPatrick McDermott2019-10-101-0/+1
|
* screen_destroy(): Restore terminal mode, free windowPatrick McDermott2019-10-081-0/+3
|
* screen_*(): New functionsPatrick McDermott2019-10-084-0/+112
|
* main(): Detect and report speech_new() errorsPatrick McDermott2019-10-051-1/+36
|
* speech_init(): Rename to speech_new()Patrick McDermott2019-10-053-3/+3
|
* main(): Play timePatrick McDermott2019-10-051-0/+1
|
* speech_init(): Hardcode register_cmu_us_slt() callPatrick McDermott2019-10-053-6/+6
| | | | And check for -lflite_cmu_us_slt.
* speech_*(): New functionsPatrick McDermott2019-10-044-1/+143
|
* Initial commitPatrick McDermott2019-08-192-0/+28