From daa54dc03cce4e64bca40911da023018d2e50663 Mon Sep 17 00:00:00 2001 From: Alessandro Pignotti Date: Thu, 19 Dec 2024 16:38:47 +0100 Subject: [PATCH] Claude: Focus the input field automatically --- src/lib/AnthropicTab.svelte | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/lib/AnthropicTab.svelte b/src/lib/AnthropicTab.svelte index ec1dbd7..7494092 100644 --- a/src/lib/AnthropicTab.svelte +++ b/src/lib/AnthropicTab.svelte @@ -53,6 +53,10 @@ return false; return msg.content[0].type == "tool_result"; } + function autoFocus(node) + { + node.focus(); + }

Claude AI Integration

WebVM is integrated with Claude by Anthropic AI. You can prompt the AI to control the system.

@@ -71,7 +75,7 @@ {#if $apiState == "KEY_REQUIRED"} -