[PR #5874] [CLOSED] closeTab warning (When more then one pane is open) #26517

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

📋 Pull Request Information

Original PR: https://github.com/microsoft/terminal/pull/5874
Author: @Chips1234
Created: 5/13/2020
Status: Closed

Base: masterHead: dev/chips1234/dialog-to-warn-closeTab


📝 Commits (10+)

  • 8a076bc Merge pull request #1 from microsoft/master
  • c044f53 Added tooltip text for MinMaxCloseControl
  • e96de7e Merge pull request #1 from Chips1234/dev/chips1234/tooltip-text(from-resources)
  • a139c7b Tooltip Text for New Tab Split Button
  • 62751c1 Merge pull request #2 from Chips1234/dev/chips1234/tooltip-text(from-resources)-1
  • 7ff46af Merge remote-tracking branch 'upstream/master'
  • f6df71c Made the dialogue for close tab warning
  • 04ea7e3 Updated the code
  • ec2bc1a Updated Terminal.h
  • 2758812 Can't forget about the buttons!

📊 Changes

9 files changed (+1110 additions, -1043 deletions)

View changed files

📝 doc/cascadia/SettingsSchema.md (+1 -0)
📝 doc/cascadia/profiles.schema.json (+6 -2)
📝 src/cascadia/TerminalApp/GlobalAppSettings.cpp (+243 -237)
📝 src/cascadia/TerminalApp/GlobalAppSettings.h (+97 -96)
📝 src/cascadia/TerminalApp/Resources/en-US/Resources.resw (+594 -598)
📝 src/cascadia/TerminalApp/Tab.h (+107 -107)
📝 src/cascadia/TerminalApp/TerminalPage.cpp (+51 -3)
📝 src/cascadia/TerminalApp/TerminalPage.h (+3 -0)
📝 src/cascadia/TerminalApp/TerminalPage.xaml (+8 -0)

📄 Description

Summary of the Pull Request

Presents a dialogue when more then one pane is open.

References

Connected to #5301

PR Checklist

Detailed Description of the Pull Request / Additional comments

I can't seem to figure out the if statement (_CloseFocusTabPane) so if anyone can help, that would be great!


🔄 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/5874 **Author:** [@Chips1234](https://github.com/Chips1234) **Created:** 5/13/2020 **Status:** ❌ Closed **Base:** `master` ← **Head:** `dev/chips1234/dialog-to-warn-closeTab` --- ### 📝 Commits (10+) - [`8a076bc`](https://github.com/microsoft/terminal/commit/8a076bc595b63bd53ff74ff24c1e704e0988de8c) Merge pull request #1 from microsoft/master - [`c044f53`](https://github.com/microsoft/terminal/commit/c044f53c69ae1d73041d1f63483308604e9be1e9) Added tooltip text for MinMaxCloseControl - [`e96de7e`](https://github.com/microsoft/terminal/commit/e96de7e483b52584178f5b225fc83afc62caad0e) Merge pull request #1 from Chips1234/dev/chips1234/tooltip-text(from-resources) - [`a139c7b`](https://github.com/microsoft/terminal/commit/a139c7b067b44b133419b7ffee0747c0e692f89b) Tooltip Text for New Tab Split Button - [`62751c1`](https://github.com/microsoft/terminal/commit/62751c19f373cc3c5aa64a82f461ecc2782d5de1) Merge pull request #2 from Chips1234/dev/chips1234/tooltip-text(from-resources)-1 - [`7ff46af`](https://github.com/microsoft/terminal/commit/7ff46affb6dc9b9dadc0ca0e9bebda5be9b27ba6) Merge remote-tracking branch 'upstream/master' - [`f6df71c`](https://github.com/microsoft/terminal/commit/f6df71c0bc11c920025e0af6928a7961ed298895) Made the dialogue for close tab warning - [`04ea7e3`](https://github.com/microsoft/terminal/commit/04ea7e36fe30fc17df68d3b6fb406233aac894ff) Updated the code - [`ec2bc1a`](https://github.com/microsoft/terminal/commit/ec2bc1a5f47ff10b559dccc61d405d4665cbf0a7) Updated Terminal.h - [`2758812`](https://github.com/microsoft/terminal/commit/2758812e74e02bd8614db9c176434487f0e6f4fe) Can't forget about the buttons! ### 📊 Changes **9 files changed** (+1110 additions, -1043 deletions) <details> <summary>View changed files</summary> 📝 `doc/cascadia/SettingsSchema.md` (+1 -0) 📝 `doc/cascadia/profiles.schema.json` (+6 -2) 📝 `src/cascadia/TerminalApp/GlobalAppSettings.cpp` (+243 -237) 📝 `src/cascadia/TerminalApp/GlobalAppSettings.h` (+97 -96) 📝 `src/cascadia/TerminalApp/Resources/en-US/Resources.resw` (+594 -598) 📝 `src/cascadia/TerminalApp/Tab.h` (+107 -107) 📝 `src/cascadia/TerminalApp/TerminalPage.cpp` (+51 -3) 📝 `src/cascadia/TerminalApp/TerminalPage.h` (+3 -0) 📝 `src/cascadia/TerminalApp/TerminalPage.xaml` (+8 -0) </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 Presents a dialogue when more then one pane is open. <!-- Other than the issue solved, is this relevant to any other issues/existing PRs? --> ## References Connected to #5301 <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist * [X] Closes #5301 * [X] CLA signed. If not, go over [here](https://cla.opensource.microsoft.com/microsoft/Terminal) and sign the CLA * [X] No docs! * [ ] 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 I can't seem to figure out the if statement (`_CloseFocusTabPane`) so if anyone can help, that would be great! --- <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:16:32 +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#26517