From 84b7bca82fc427d2fb86790d9e3e6a257e829237 Mon Sep 17 00:00:00 2001 From: Asier Isayas Date: Fri, 14 Feb 2025 10:51:35 -0500 Subject: [PATCH] add ctrl+z --- src/Phoenix/PhoenixClient.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Phoenix/PhoenixClient.ts b/src/Phoenix/PhoenixClient.ts index f8a90f6a2..662433de1 100644 --- a/src/Phoenix/PhoenixClient.ts +++ b/src/Phoenix/PhoenixClient.ts @@ -280,7 +280,7 @@ export class PhoenixClient { this.abortSignal = this.abortController.signal; document.addEventListener("keydown", (event: KeyboardEvent) => { - if (event.ctrlKey && event.key === "c") { + if (event.ctrlKey && (event.key === "c" || event.key === "z")) { this.abortController.abort(new AbortError("Request canceled")); } });