Class ConsoleLineEditor
An interactive line editor used for shell prompts.
Implements
Inherited Members
Namespace: SociallyDistant.Core.UI.Console
Assembly: SociallyDistant.Framework.dll
Syntax
public sealed class ConsoleLineEditor : IDisposable
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
public void Dispose()
ReadLine()
Create an awaitable task that resolves when line editing is completed.
Declaration
public Task<string> ReadLine()
Returns
Type | Description |
---|---|
Task<string> | A Task<TResult> that resolves with the submitted line of text. |