From 0098000ae0a62ffdba3e46f6fdd0d2ea9f2d6f7c Mon Sep 17 00:00:00 2001 From: MacRimi Date: Wed, 10 Dec 2025 17:45:38 +0100 Subject: [PATCH] Update terminal-panel.tsx --- AppImage/components/terminal-panel.tsx | 25 ++++++++++++++++++++----- 1 file changed, 20 insertions(+), 5 deletions(-) diff --git a/AppImage/components/terminal-panel.tsx b/AppImage/components/terminal-panel.tsx index d03ec7b..4123437 100644 --- a/AppImage/components/terminal-panel.tsx +++ b/AppImage/components/terminal-panel.tsx @@ -503,6 +503,9 @@ export const TerminalPanel: React.FC = ({ websocketUrl, onCl case "CTRL_C": seq = "\x03" break + case "ENTER": + seq = "\r" + break default: break } @@ -770,7 +773,7 @@ export const TerminalPanel: React.FC = ({ websocketUrl, onCl }} variant="outline" size="sm" - className="h-8 px-3 text-xs" + className="h-8 px-2 text-xs" > ↑ @@ -782,7 +785,7 @@ export const TerminalPanel: React.FC = ({ websocketUrl, onCl }} variant="outline" size="sm" - className="h-8 px-3 text-xs" + className="h-8 px-2 text-xs" > ↓ @@ -794,7 +797,7 @@ export const TerminalPanel: React.FC = ({ websocketUrl, onCl }} variant="outline" size="sm" - className="h-8 px-3 text-xs" + className="h-8 px-2 text-xs" > ← @@ -806,10 +809,22 @@ export const TerminalPanel: React.FC = ({ websocketUrl, onCl }} variant="outline" size="sm" - className="h-8 px-3 text-xs" + className="h-8 px-2 text-xs" > → +