mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-07-06 04:28:15 +08:00
Added tests on backward direction of autocomplete
This commit is contained in:

committed by
Patrik Svensson

parent
1082ac1efc
commit
088db165ed
@ -61,6 +61,15 @@ public sealed class TestConsoleInput : IAnsiConsoleInput
|
||||
_input.Enqueue(new ConsoleKeyInfo((char)input, input, false, false, false));
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Pushes the specified key to the input queue.
|
||||
/// </summary>
|
||||
/// <param name="consoleKeyInfo">The input.</param>
|
||||
public void PushKey(ConsoleKeyInfo consoleKeyInfo)
|
||||
{
|
||||
_input.Enqueue(consoleKeyInfo);
|
||||
}
|
||||
|
||||
/// <inheritdoc/>
|
||||
public bool IsKeyAvailable()
|
||||
{
|
||||
|
Reference in New Issue
Block a user