Skip to content

fix(tui): enable mouse + focus left nav pane by default - #921

Merged
namastex888 merged 1 commit into
devfrom
fix/tui-mouse-focus
Mar 30, 2026
Merged

namastex888 merged 1 commit into
devfrom
fix/tui-mouse-focus

Conversation

@namastex888

Copy link
Copy Markdown
Contributor

Mouse was off, clicking left nav didn't work. Left pane wasn't focused so j/k went to terminal.

Mouse was off in tui-tmux.conf so clicking the left nav pane didn't
give it focus. Also select left pane after TUI setup so keyboard
input goes to OpenTUI nav by default (not the right terminal pane).
@gemini-code-assist

Copy link
Copy Markdown
Contributor

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@coderabbitai

coderabbitai Bot commented Mar 30, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: 00df1bf8-5ead-4150-a989-fab6e375a35c

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/tui-mouse-focus

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

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

Copy link
Copy Markdown

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: 379b25ef9d

ℹ️ 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".

# Mouse off (apps handle their own via passthrough)
set -g mouse off
# Mouse on — needed for clicking between left nav and right terminal panes
set -g mouse on

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Remove conflicting mouse-off override

Setting mouse on in scripts/tmux/tui-tmux.conf is overridden during startup by applyTuiStyle() (src/term-commands/serve.ts, set-option -t ${TUI_SESSION} mouse off), so the advertised click-to-switch behavior is still disabled in the normal serve path. This makes the commit’s mouse fix ineffective unless the runtime style command fails, so the runtime setting should be updated to keep mouse enabled.

Useful? React with 👍 / 👎.

@namastex888
namastex888 merged commit 364c756 into dev Mar 30, 2026
6 checks passed
@namastex888
namastex888 deleted the fix/tui-mouse-focus branch April 10, 2026 16:19
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