mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-09-16 17:35:34 +08:00
Add interactive prompts for selecting values
* Adds SelectionPrompt * Adds MultiSelectionPrompt Closes #210
This commit is contained in:

committed by
Patrik Svensson

parent
3a593857c8
commit
0e0f4b4220
@@ -9,6 +9,8 @@ namespace Spectre.Console.Rendering
|
||||
private IRenderable? _renderable;
|
||||
private SegmentShape? _shape;
|
||||
|
||||
public bool HasRenderable => _renderable != null;
|
||||
|
||||
public void SetRenderable(IRenderable renderable)
|
||||
{
|
||||
lock (_lock)
|
||||
|
Reference in New Issue
Block a user