Commit graph

35 commits

Author SHA1 Message Date
shy
fd325a88ca Added --fancy option. 2021-04-12 17:06:43 +02:00
shy
f3b48aa7a8 Propagate digit size through clock. 2021-04-12 10:21:30 +02:00
shy
a95c00aa57 Append ellipse to truncated labels. 2021-04-12 08:59:47 +02:00
shy
3021fdb848 Fix bug on ^W. 2021-04-12 08:52:19 +02:00
shy
5eef3dd811 Refactored clock code. 2021-04-12 08:26:26 +02:00
shy
557358a4c0 Slightly refactored clock drawing code. 2021-04-11 19:04:09 +02:00
shy
85f7b7af03 Modify clock style when paused. 2021-04-11 18:09:26 +02:00
shy
21222baa71 Implemented ^W. 2021-04-11 16:38:19 +02:00
shy
4a32bbb9af Make layout.error unnecessary. 2021-04-11 14:06:00 +02:00
shy
ade2c9f4da Move input buffer into it's own module. 2021-04-11 12:44:25 +02:00
shy
d95f2faaef Extensive refactoring. 2021-04-10 20:45:26 +02:00
shy
f5490eb96b Make main loop delay conditional. 2021-04-10 12:52:37 +02:00
shy
0b40242baa Propagate I/O-errors to main. 2021-04-10 08:20:05 +02:00
shy
1e749c7cbd Extensive refactoring. 2021-04-10 07:57:41 +02:00
shy
d264d8540d Limit label length. 2021-04-09 19:15:31 +02:00
shy
a42e1130a1 Some minor improvements. 2021-04-09 18:33:42 +02:00
shy
63706d90e8 Make label available to --command. 2021-04-09 17:01:42 +02:00
shy
299ef7fbe6 Added alarm labels. 2021-04-09 16:43:46 +02:00
shy
320453474c Added test for layout calculation. 2021-04-09 07:48:27 +02:00
shy
642ebcf077 Don't panic at tiny screen sizes. 2021-04-08 12:32:37 +02:00
shy
5e01fbe066 Tend to spawned processes. 2021-04-08 11:17:06 +02:00
shy
91d3e81eca Fix delayed update of roster_width. 2021-04-08 09:46:36 +02:00
shy
1e3e3d9fea Revised parsing of command line arguments. 2021-04-08 07:59:11 +02:00
shy
066b88eeee Implemented "--quit". 2021-04-07 10:08:57 +02:00
shy
d894d6d475 Make use of Cargo environment variables. 2021-04-07 07:48:53 +02:00
shy
3f1ac39527 Add alarm times on the command line. 2021-04-06 20:09:01 +02:00
shy
3ad264aa7b Refactored invocation of layout.update(). 2021-04-06 16:36:01 +02:00
shy
b69056c144 Better input parsing. 2021-04-06 15:22:16 +02:00
shy
7f941b7bfb Make unknown parameters an error. 2021-04-06 06:48:51 +02:00
shy
b84ad6676b Rename to kitchentimer. 2021-04-06 06:45:02 +02:00
shy
851c950625 Make use of SIGWINCH. 2021-04-05 21:07:00 +02:00
shy
074a22f2d9 Typo. 2021-04-05 18:49:41 +02:00
shy
b27667d5e2 Implemented signal handling. 2021-04-05 17:27:24 +02:00
shy
bde5bc9307 Store alarm_exec as Option<T>. 2021-04-05 13:54:02 +02:00
shy
c04bde3ba4 Initial commit. 2021-04-05 12:20:24 +02:00