You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
It would be alot nicer if there was some way to get an underlying renderable of a Prompt somehow. As currently to my knowledge its not possible to put prompt on ofher layout like panels, layouts and grids Describe the solution you'd likeq
A clear and concise description of what you want to happen.
Some kinda of .GetRenderable function on all promps that returns the renderable but doesnt display the lrompt yet, some kind of delegate call or event on fhe prompt itself to specify what should happen when the prompt is finished. This way we can put prompts as rendersbles and also still catch their output
So: Panel p = new Panel(AnsiConsols.Ask<string>().GetRenderable(string output => doCodeWithOutout));
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Manually replacing the promp system by just moving the regulae console cursor and doing a readline.
Additional context
Add any other context or screenshots about the feature request here.
Please upvote 👍 this issue if you are interested in it.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
It would be alot nicer if there was some way to get an underlying renderable of a Prompt somehow. As currently to my knowledge its not possible to put prompt on ofher layout like panels, layouts and grids
Describe the solution you'd likeq
A clear and concise description of what you want to happen.
Some kinda of .GetRenderable function on all promps that returns the renderable but doesnt display the lrompt yet, some kind of delegate call or event on fhe prompt itself to specify what should happen when the prompt is finished. This way we can put prompts as rendersbles and also still catch their output
So:
Panel p = new Panel(AnsiConsols.Ask<string>().GetRenderable(string output => doCodeWithOutout));
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Manually replacing the promp system by just moving the regulae console cursor and doing a readline.
Additional context
Add any other context or screenshots about the feature request here.
Please upvote 👍 this issue if you are interested in it.
The text was updated successfully, but these errors were encountered: