Skip to content

Commit 780918b

Browse files
committed
fixup! feat: add command to focus Roo Code input field
1 parent e7658b0 commit 780918b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

webview-ui/src/components/chat/ChatView.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -495,6 +495,9 @@ const ChatView = ({ isHidden, showAnnouncement, hideAnnouncement, showHistoryVie
495495
textAreaRef.current?.focus()
496496
}
497497
break
498+
case "focusInput":
499+
textAreaRef.current?.focus()
500+
break
498501
}
499502
if (message.action === "focusInput") {
500503
textAreaRef.current?.focus()
@@ -1301,7 +1304,7 @@ const ChatView = ({ isHidden, showAnnouncement, hideAnnouncement, showHistoryVie
13011304
: primaryButtonText === t("chat:proceedAnyways.title")
13021305
? t("chat:proceedAnyways.tooltip")
13031306
: primaryButtonText ===
1304-
t("chat:proceedWhileRunning.title")
1307+
t("chat:proceedWhileRunning.title")
13051308
? t("chat:proceedWhileRunning.tooltip")
13061309
: undefined
13071310
}

0 commit comments

Comments
 (0)