Add optional single-click focus for inactive panes (#1796)

* Add failing first-click pane focus tests

* Enable optional first-click focus for inactive panes

* Address PR review follow-ups

---------

Co-authored-by: Lawrence Chen <lawrencecchen@users.noreply.github.com>
This commit is contained in:
Lawrence Chen 2026-03-19 01:01:10 -07:00 committed by GitHub
parent 5cab7c4a7b
commit 7cbac356fc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 221 additions and 1 deletions

View file

@ -43335,6 +43335,57 @@
}
}
},
"settings.app.paneFirstClickFocus": {
"extractionState": "manual",
"localizations": {
"en": {
"stringUnit": {
"state": "translated",
"value": "Focus Pane on First Click"
}
},
"ja": {
"stringUnit": {
"state": "translated",
"value": "最初のクリックでペインにフォーカス"
}
}
}
},
"settings.app.paneFirstClickFocus.subtitleOff": {
"extractionState": "manual",
"localizations": {
"en": {
"stringUnit": {
"state": "translated",
"value": "When cmux is inactive, the first click only activates the window. Click again to focus the pane."
}
},
"ja": {
"stringUnit": {
"state": "translated",
"value": "cmuxが非アクティブのとき、最初のクリックはウインドウをアクティブにするだけです。ペインにフォーカスするにはもう一度クリックします。"
}
}
}
},
"settings.app.paneFirstClickFocus.subtitleOn": {
"extractionState": "manual",
"localizations": {
"en": {
"stringUnit": {
"state": "translated",
"value": "When cmux is inactive, clicking a pane activates the window and focuses that pane in one click."
}
},
"ja": {
"stringUnit": {
"state": "translated",
"value": "cmuxが非アクティブのとき、ペインをクリックすると1回でウインドウをアクティブにしてそのペインへフォーカスします。"
}
}
}
},
"settings.app.openSidebarPRLinks": {
"extractionState": "manual",
"localizations": {