Class LineEditor
Assembly: SociallyDistant.Framework.dll
Syntax
Constructors
LineEditor(ITextConsole)
Declaration
public LineEditor(ITextConsole console)
Parameters
Properties
AutoCompleteSource
Declaration
public IAutoCompleteSource? AutoCompleteSource { get; set; }
Property Value
HasSelection
Declaration
public bool HasSelection { get; }
Property Value
UsePasswordChars
Declaration
public bool UsePasswordChars { get; set; }
Property Value
Methods
ReadLineAsync()
Declaration
public Task<string> ReadLineAsync()
Returns
Update(out string)
Declaration
public bool Update(out string text)
Parameters
Type |
Name |
Description |
string |
text |
|
Returns