add ctrl+z

This commit is contained in:
Asier Isayas
2025-02-14 10:51:35 -05:00
parent 956a10638e
commit 84b7bca82f

View File

@@ -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"));
}
});