From 754a0988eedff1677bbd00fb64ccc38f3e964658 Mon Sep 17 00:00:00 2001 From: MacRimi Date: Mon, 16 Mar 2026 23:48:35 +0100 Subject: [PATCH] Update terminal-panel.tsx --- AppImage/components/terminal-panel.tsx | 50 +++++--------------------- 1 file changed, 8 insertions(+), 42 deletions(-) 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) && (