From 88a9f49bf3696a12630d98a5bbf09017d15a1d7d Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 7 Jun 2026 07:26:43 +0000 Subject: [PATCH 1/4] feat: improve terminal visual quality - lineHeight 1.2 and letterSpacing 0.5 for better readability - cursorStyle 'bar' instead of block for modern feel - scrollback increased to 10,000 lines - alt fast-scroll and macOptionIsMeta enabled - tab switching changed from instant display:none to 150ms opacity fade https://claude.ai/code/session_01KXU1uAUwx3L82TMLnAmU4z --- src/renderer/src/components/terminal/TerminalPane.tsx | 8 ++++++-- src/renderer/src/hooks/use-terminal.ts | 7 ++++++- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/src/renderer/src/components/terminal/TerminalPane.tsx b/src/renderer/src/components/terminal/TerminalPane.tsx index 7aa8a08..f780787 100644 --- a/src/renderer/src/components/terminal/TerminalPane.tsx +++ b/src/renderer/src/components/terminal/TerminalPane.tsx @@ -1079,8 +1079,12 @@ export function TerminalPane(): React.ReactNode { return (
Date: Sun, 7 Jun 2026 07:31:49 +0000 Subject: [PATCH 2/4] chore: apply pr-reviewer fixes for #142 --- src/renderer/src/components/terminal/TerminalPane.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/renderer/src/components/terminal/TerminalPane.tsx b/src/renderer/src/components/terminal/TerminalPane.tsx index f780787..163f2c8 100644 --- a/src/renderer/src/components/terminal/TerminalPane.tsx +++ b/src/renderer/src/components/terminal/TerminalPane.tsx @@ -1085,6 +1085,7 @@ export function TerminalPane(): React.ReactNode { pointerEvents: active ? 'auto' : 'none' }} aria-hidden={!active} + inert={!active} > Date: Sun, 7 Jun 2026 07:38:58 +0000 Subject: [PATCH 3/4] chore: apply pr-reviewer fixes for #142 --- src/renderer/src/components/terminal/TerminalPane.tsx | 3 ++- src/renderer/src/hooks/use-terminal.ts | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/renderer/src/components/terminal/TerminalPane.tsx b/src/renderer/src/components/terminal/TerminalPane.tsx index 163f2c8..8a84d3d 100644 --- a/src/renderer/src/components/terminal/TerminalPane.tsx +++ b/src/renderer/src/components/terminal/TerminalPane.tsx @@ -1079,9 +1079,10 @@ export function TerminalPane(): React.ReactNode { return (
Date: Sun, 7 Jun 2026 10:13:09 +0000 Subject: [PATCH 4/4] fix: prevent keyboard focus on inactive terminal tabs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit opacity:0 + pointerEvents:none does not remove hidden tabs from the browser tab order — the xterm.js textarea remains focusable. Adding the inert attribute (via ref callback to avoid TypeScript attribute gaps) makes the entire inactive container and all its descendants unfocusable, matching the behaviour of the previous display:none while preserving the 150ms opacity fade animation. https://claude.ai/code/session_01KXU1uAUwx3L82TMLnAmU4z --- src/renderer/src/components/terminal/TerminalPane.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/src/components/terminal/TerminalPane.tsx b/src/renderer/src/components/terminal/TerminalPane.tsx index 8a84d3d..157b3c9 100644 --- a/src/renderer/src/components/terminal/TerminalPane.tsx +++ b/src/renderer/src/components/terminal/TerminalPane.tsx @@ -1079,7 +1079,7 @@ export function TerminalPane(): React.ReactNode { return (