Replies: 1 comment
-
|
1: you can set the status of any such item so you can essentially clear and "resume" by just storing the state (or binding to a state) that you control. 2: yes. It is a bit confusing when it says this should not be used with certain other controls, I take that to basically mean you should only have one UI draw loop. You seem to be able to draw just about anything you want with the renderhook itself. For example see: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm hoping to achieve a desired effect with this library, but no idea if its possible because of comments about thread safety in the documentation.
Essentially I'd like to have app start by spitting out status much like the top example on this page
https://spectreconsole.net/live/status
That part all works and is pretty self explanatory.
One part of my logging is more complex and will get to the point where I'd like to pause updates of status or even exit status (although I'd assume this means all the status text in the console - not the log lines, would be removed?)
then I'd like to essentially display something like this
Once things are complete there, I'd like to essentially clear all the progress information for that step in those three rows, and resume more status updates like example above.
My questions
Between the rich output, and the command args processing stuff, this library is definitely one of my favorites and I'd really like to know how I could better achieve something like this.
Thanks all.
Beta Was this translation helpful? Give feedback.
All reactions