Skip to content

Comments

Fix/windows terminal#4

Merged
elashera merged 2 commits intomainfrom
fix/windows-terminal
Feb 19, 2026
Merged

Fix/windows terminal#4
elashera merged 2 commits intomainfrom
fix/windows-terminal

Conversation

@elashera
Copy link
Owner

No description provided.

@elashera elashera merged commit 2ce453f into main Feb 19, 2026
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 41d571f1ce

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +368 to +369
if (!isVisible || focusRequestVersion === 0) {
return;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Request focus when opening terminal via keyboard shortcut

This new guard means terminal focus only happens after requestTerminalFocus() increments focusRequestVersion, but the keyboard shortcut path still toggles the panel through usePanelShortcuts with the raw handleToggleTerminal callback (src/features/app/hooks/useLayoutController.ts:64-69) and never sends that focus request. After this change, opening the terminal via the configured shortcut can leave input focus outside xterm (especially on Windows), so typing does nothing until the user manually clicks the terminal.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant