From 26b1529a45b698cb236bc6e7a4e78562c1c0bd91 Mon Sep 17 00:00:00 2001
From: G30 <50341825+silentoplayz@users.noreply.github.com>
Date: Sun, 31 May 2026 17:52:20 -0400
Subject: [PATCH] fix(ui): add voice mode mute shortcut to keyboard shortcuts
modal (#25193)
---
src/lib/components/chat/ShortcutsModal.svelte | 4 ++++
src/lib/shortcuts.ts | 13 ++++++++++++-
2 files changed, 16 insertions(+), 1 deletion(-)
diff --git a/src/lib/components/chat/ShortcutsModal.svelte b/src/lib/components/chat/ShortcutsModal.svelte
index 965229c22c..b99856d4f3 100644
--- a/src/lib/components/chat/ShortcutsModal.svelte
+++ b/src/lib/components/chat/ShortcutsModal.svelte
@@ -97,6 +97,10 @@
+
+
+
+
{#each items as shortcut}
diff --git a/src/lib/shortcuts.ts b/src/lib/shortcuts.ts
index 9879b8110d..e94b2f0219 100644
--- a/src/lib/shortcuts.ts
+++ b/src/lib/shortcuts.ts
@@ -40,7 +40,10 @@ export enum Shortcut {
REGENERATE_RESPONSE = 'regenerateResponse',
COPY_LAST_CODE_BLOCK = 'copyLastCodeBlock',
COPY_LAST_RESPONSE = 'copyLastResponse',
- STOP_GENERATING = 'stopGenerating'
+ STOP_GENERATING = 'stopGenerating',
+
+ //Voice
+ TOGGLE_MUTE = 'toggleMute'
}
export const shortcuts: ShortcutRegistry = {
@@ -164,5 +167,13 @@ export const shortcuts: ShortcutRegistry = {
name: 'Copy Last Code Block',
keys: ['mod', 'shift', ';'],
category: 'Message'
+ },
+
+ //Voice
+ [Shortcut.TOGGLE_MUTE]: {
+ name: 'Toggle Mute',
+ keys: ['M'],
+ category: 'Voice',
+ tooltip: 'Only active during Voice Mode.'
}
};