diff --git a/apps/web/src/components/terminal.tsx b/apps/web/src/components/terminal.tsx index 59e39c8..08a5776 100644 --- a/apps/web/src/components/terminal.tsx +++ b/apps/web/src/components/terminal.tsx @@ -275,10 +275,10 @@ export const TerminalComponent: React.FC = ({ } }; - // Focus hidden input on mobile to keep keyboard open + // Focus terminal on mobile to keep keyboard open const handleTerminalClick = () => { - if (isMobile && hiddenInputRef.current) { - hiddenInputRef.current.focus(); + if (isMobile && termRef.current) { + termRef.current.focus(); } };