From e92b4061febd8b0f26fc7475be26fe48bd2db164 Mon Sep 17 00:00:00 2001 From: Mathieu Virbel Date: Tue, 26 Sep 2023 16:02:24 -0400 Subject: [PATCH] add , to change to main screen --- www/app/transcripts/recorder.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/www/app/transcripts/recorder.tsx b/www/app/transcripts/recorder.tsx index 52ad7294..0d85f82c 100644 --- a/www/app/transcripts/recorder.tsx +++ b/www/app/transcripts/recorder.tsx @@ -57,7 +57,10 @@ export default function Recorder(props: RecorderProps) { const handleKeyPress = (event: KeyboardEvent) => { switch (event.key) { case "~": - location.reload(); + location.href = "" + break; + case ",": + location.href = "/transcripts/new"; break; case "!": if (record.isRecording()) return;