Closed joeyjoejoejr closed 11 years ago
Sounds like a good idea. In timetrap I've tried to send errors and other messages to STDERR and only entry data to STDOUT. I think this fits with that model. If you wanted to change the puts
call to warn
I'd happily merge that.
Just released in gem version 1.8.7.
Thanks for the contribution!
It's not a huge deal, but I've been working on getting timetrap to output into tmux status bars. The problem I've been having with displaying the currently running task, is that if I'm not on a task it just displays the "not running" message.
My suggestion would be to put that message to standard error instead of standard out. That way you wouldn't have to check the content of the message to prevent displaying it.
I'd be happy to submit a pull request if this is something you think would be useful.