[PR #1117] [MERGED] Provide workaround for _GetFocusedTabIndex #24489

Open
opened 2026-01-31 09:03:36 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/microsoft/terminal/pull/1117
Author: @Summon528
Created: 6/3/2019
Status: ✅ Merged
Merged: 6/4/2019
Merged by: @miniksa

Base: master ← Head: tabview


📝 Commits (6)

📊 Changes

1 file changed (+10 additions, -1 deletions)

View changed files

📝 src/cascadia/TerminalApp/App.cpp (+10 -1)

📄 Description

Summary of the Pull Request

Use tabview.SelectedIndex for setting focus tab

References

PR Checklist

  • Closes #1100, Closes #1039, Closes CustomTextLayout/CustomTextRenderer performance tweaks (#1074)
  • CLA signed. If not, go over here and sign the CLA
  • Tests added/passed
  • Requires documentation to be updated
  • I've discussed this with core contributors already. If not checked, I'm ready to accept this work might be rejected in favor of a different grand plan. Issue number where discussion took place: #xxx

Detailed Description of the Pull Request / Additional comments


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/microsoft/terminal/pull/1117 **Author:** [@Summon528](https://github.com/Summon528) **Created:** 6/3/2019 **Status:** ✅ Merged **Merged:** 6/4/2019 **Merged by:** [@miniksa](https://github.com/miniksa) **Base:** `master` ← **Head:** `tabview` --- ### 📝 Commits (6) - [`003953c`](https://github.com/microsoft/terminal/commit/003953c12caa6704824ad46bc6e6258238b0b024) Use tabview.SelectedIndex - [`b781702`](https://github.com/microsoft/terminal/commit/b78170245c63af4ccbddaea5f3ddc015b8bd989a) Add async back - [`3b908b5`](https://github.com/microsoft/terminal/commit/3b908b50d9dadc9126ffba429700c0fd9a94dd5a) Revert "Use tabview.SelectedIndex" - [`3d8222b`](https://github.com/microsoft/terminal/commit/3d8222b5f5b62f37029ada47e57c7b776434e69f) Provide workaround for GetFocusedTabIndex - [`d879a31`](https://github.com/microsoft/terminal/commit/d879a315e2944e4399a557a889d7ba1130164294) Comment - [`76e42a9`](https://github.com/microsoft/terminal/commit/76e42a9bba0deb1b346bb47c314cfa5573648f40) return -1 if not found ### 📊 Changes **1 file changed** (+10 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `src/cascadia/TerminalApp/App.cpp` (+10 -1) </details> ### 📄 Description <!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request Use tabview.SelectedIndex for setting focus tab <!-- Other than the issue solved, is this relevant to any other issues/existing PRs? --> ## References <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist * [x] Closes #1100, Closes #1039, Closes #1074 * [x] CLA signed. If not, go over [here](https://cla.opensource.microsoft.com/microsoft/Terminal) and sign the CLA * [ ] Tests added/passed * [ ] Requires documentation to be updated * [ ] I've discussed this with core contributors already. If not checked, I'm ready to accept this work might be rejected in favor of a different grand plan. Issue number where discussion took place: #xxx <!-- Provide a more detailed description of the PR, other things fixed or any additional comments/features here --> ## Detailed Description of the Pull Request / Additional comments --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-31 09:03:36 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#24489