diff --git a/Moonlight/Features/Servers/UI/UserViews/Console.razor b/Moonlight/Features/Servers/UI/UserViews/Console.razor index a28acb5..79544e3 100644 --- a/Moonlight/Features/Servers/UI/UserViews/Console.razor +++ b/Moonlight/Features/Servers/UI/UserViews/Console.razor @@ -18,7 +18,7 @@
- +
@@ -118,6 +118,14 @@ await InvokeAsync(StateHasChanged); } + + private async Task OnEnterPressed(KeyboardEventArgs args) + { + if(args.Code != "Enter" || args.CtrlKey || args.ShiftKey) + return; + + await SendCommand(); + } public void Dispose() {