Freigeben über


PSConsoleReadLine.ViAcceptLineOrExit Method

Definition

Like DeleteCharOrExit in Emacs mode, but accepts the line instead of deleting a character.

public static void ViAcceptLineOrExit (ConsoleKeyInfo? key = default, object arg = default);
static member ViAcceptLineOrExit : Nullable<ConsoleKeyInfo> * obj -> unit
Public Shared Sub ViAcceptLineOrExit (Optional key As Nullable(Of ConsoleKeyInfo) = Nothing, Optional arg As Object = Nothing)

Parameters

arg
Object

Applies to