From effa87638ddbe017439a0ede9af57a90e7e8da10 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Mon, 31 Mar 2025 00:48:09 -0700 Subject: [PATCH] refac: prompt command behaviour --- src/lib/components/chat/MessageInput.svelte | 1 - .../chat/MessageInput/Commands/Prompts.svelte | 10 +++++++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/lib/components/chat/MessageInput.svelte b/src/lib/components/chat/MessageInput.svelte index 0fc65085c..0651d03ce 100644 --- a/src/lib/components/chat/MessageInput.svelte +++ b/src/lib/components/chat/MessageInput.svelte @@ -855,7 +855,6 @@ on:keydown={async (e) => { const isCtrlPressed = e.ctrlKey || e.metaKey; // metaKey is for Cmd key on Mac - console.log('keydown', e); const commandsContainerElement = document.getElementById('commands-container'); diff --git a/src/lib/components/chat/MessageInput/Commands/Prompts.svelte b/src/lib/components/chat/MessageInput/Commands/Prompts.svelte index ccd942cb5..9e85c023b 100644 --- a/src/lib/components/chat/MessageInput/Commands/Prompts.svelte +++ b/src/lib/components/chat/MessageInput/Commands/Prompts.svelte @@ -1,5 +1,5 @@