this is a nice feature to start with, but we need to advise it only works for no-output tasks. If the closure() has some kind of output, this would get messy.
I would like to try exploring something like:
- We have a pipe for capturing the task actual output.
- While executing a task, we have something like:
Running "task"...
-------------------------------
(original task output... keeps writing here)
-------------------------------
... (animated char, something like an ASCII spinner with `-\|/-` replacing sequence, or something for that matter.
So the last output line is ALWAYS our "progress/running" spinner, while above it we keep displaying any eventual output the task could have.
Not sure how to architecture that, we may discuss further, maybe for a future iteration?
Originally posted by @fabriciojs in #170 (comment)
this is a nice feature to start with, but we need to advise it only works for no-output tasks. If the closure() has some kind of output, this would get messy.
I would like to try exploring something like:
So the last output line is ALWAYS our "progress/running" spinner, while above it we keep displaying any eventual output the task could have.
Not sure how to architecture that, we may discuss further, maybe for a future iteration?
Originally posted by @fabriciojs in #170 (comment)