From 88d960e73b2adbaa47be3f8c4f62b707c7ed0f8a Mon Sep 17 00:00:00 2001 From: Pedram Amini Date: Sun, 1 Feb 2026 15:47:15 -0500 Subject: [PATCH] fix(main-panel): remote file loading state now fills entire main panel When loading remote content (e.g., README.md from SSH), the loading indicator now takes over the entire main panel instead of showing alongside the terminal output. This prevents the awkward half-filled appearance. --- src/renderer/components/MainPanel.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/renderer/components/MainPanel.tsx b/src/renderer/components/MainPanel.tsx index 71a49edb..166498d5 100644 --- a/src/renderer/components/MainPanel.tsx +++ b/src/renderer/components/MainPanel.tsx @@ -1503,7 +1503,8 @@ export const MainPanel = React.memo( )} {/* Show File Preview in main area when open, otherwise show terminal output and input */} - {previewFile ? ( + {/* Skip rendering terminal/preview when loading remote file - loading state takes over entire main area */} + {filePreviewLoading && !previewFile ? null : previewFile ? (