Some defects:
- if I can enter a comment, why should I press
ENTER twice (the first time just to stop the clock, the second for the comment)
- why should comments be oneliners?
- using
EOF (instead of enter) to stop the watch seems much more reasonable (and unix-style) to me.
A proposal:
- when you run
ctt track myproj all the text entered will be added as a comment (but only the first line will be used for reports and so on!)
- when the user presses
ctrl+d, the clock stops, the comment is saved. hurray!
I realize that, to keep ctt as KISS as possible this may seem too much, and should be handled by a separate tool that wraps ctt. The problem is that it's not so easy to write a wrapper on ctt, so an option to switch the interface will just be simpler to write.
Some defects:
ENTERtwice (the first time just to stop the clock, the second for the comment)EOF(instead of enter) to stop the watch seems much more reasonable (and unix-style) to me.A proposal:
ctt track myprojall the text entered will be added as a comment (but only the first line will be used for reports and so on!)ctrl+d, the clock stops, the comment is saved. hurray!I realize that, to keep
cttas KISS as possible this may seem too much, and should be handled by a separate tool that wrapsctt. The problem is that it's not so easy to write a wrapper on ctt, so an option to switch the interface will just be simpler to write.