Open MrVine opened 5 years ago
I don't fully understand what you are trying to do. But sounds like you can make use of the progress bar and simply set your progress like this https://github.com/abiosoft/ishell/blob/master/example/main.go#L144.
I want to show progress for several lines simultaneously, like during docker pull
:
Or just update each line, like this:
Is it possible with abiosoft/ishell
?
No, you cannot do that yet. I actually have it listed in the roadmap, may prioritise it.
Ok, thanks
Is it possible to update concrete line of
ishell
?I creating some application, which will return
results []*Result
slice to user. In my application hard background work should be done for each element of slice, so I want to notify user about current progress by sending new state of*Result
item overchan *Result
channel.So, is it possible to update only concrete line of
ishell
, without re-writing all content ofresults
slice?