zaaack / foy

A simple, light-weight, type-friendly and modern task runner for general purpose.
http://zaaack.github.io/foy
MIT License
260 stars 14 forks source link

New task hierarchy feature causes duplicate console output #7

Closed dominicporteous closed 5 years ago

dominicporteous commented 5 years ago

If the height of the hierarchy 'tree' is greater than the height of the terminal it is being run in, then the whole tree will be re-written to the termnial on every tick of the spinner.

I guess this may be a problem with the spinner library rather than the foy implementation

zaaack commented 5 years ago

@dominicporteous Thanks for reporting, foy is using log-update to render the loading graph, and here actually is an issue about resizing terminal: https://github.com/sindresorhus/log-update/issues/36 It's a little tricky, let me see what we can do...

zaaack commented 5 years ago

@dominicporteous Fixed in v0.1.10!