diff --git a/AppImage/components/terminal-panel.tsx b/AppImage/components/terminal-panel.tsx index 43a7caec..281b7bf4 100644 --- a/AppImage/components/terminal-panel.tsx +++ b/AppImage/components/terminal-panel.tsx @@ -656,13 +656,7 @@ export const TerminalPanel: React.FC = ({ websocketUrl, onCl } } - const handleKeyButton = (key: string, e?: React.MouseEvent | React.TouchEvent) => { - // Prevenir comportamientos por defecto del navegador - if (e) { - e.preventDefault() - e.stopPropagation() - } - + const handleKeyButton = (key: string) => { const activeTerminal = terminals.find((t) => t.id === activeTerminalId) if (!activeTerminal || !activeTerminal.ws || activeTerminal.ws.readyState !== WebSocket.OPEN) return @@ -930,11 +924,7 @@ const handleClose = () => { {(isMobile || isTablet) && (