+1 vote
by (130 points)

1 Answer

0 votes
by (150k points)

by (130 points)
It is very close. The console clear does stop the prompt from being output while the result is fetched, which is correct. I would prefer the previous data being displayed though. If there is anyway to combine these two that would be the perfect fit.

Thanks for the direction lukas
by (150k points)
Have you tried removing the console.Clear() call? It's not actually required to hide the prompt, it's just a non-essential part of that particular sample code.
by (130 points)
Ok, I was able to get it to work correctly.

Is there a way that I can do a similar Action thing in the Authentication event? A similar thing is needed since again it has to be processed somewhere then returned if user/password is valid

Thanks for the help
by (150k points)
Sorry, this is not available for Authentication event yet. We plan to add it in a future version that introduces a fully asynchronous SSH core.
...