[PR #2590] [MERGED] Catch failure to open clipboard #24995

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

📋 Pull Request Information

Original PR: https://github.com/microsoft/terminal/pull/2590
Author: @carlos-zamora
Created: 8/28/2019
Status: Merged
Merged: 8/30/2019
Merged by: @DHowett-MSFT

Base: masterHead: dev/cazamor/bugfix-copy-crash


📝 Commits (1)

  • f4a4f76 catch failure to open clipboard

📊 Changes

1 file changed (+6 additions, -2 deletions)

View changed files

📝 src/cascadia/TerminalApp/App.cpp (+6 -2)

📄 Description

Summary of the Pull Request

Unfortunately, we can't necessarily guarantee that you can open the clipboard. It just happens -.-. So, let's catch this error and not crash the Terminal.

References

PR Checklist


🔄 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/2590 **Author:** [@carlos-zamora](https://github.com/carlos-zamora) **Created:** 8/28/2019 **Status:** ✅ Merged **Merged:** 8/30/2019 **Merged by:** [@DHowett-MSFT](https://github.com/DHowett-MSFT) **Base:** `master` ← **Head:** `dev/cazamor/bugfix-copy-crash` --- ### 📝 Commits (1) - [`f4a4f76`](https://github.com/microsoft/terminal/commit/f4a4f76c1b26efefd51385fcb9321290d04a634f) catch failure to open clipboard ### 📊 Changes **1 file changed** (+6 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `src/cascadia/TerminalApp/App.cpp` (+6 -2) </details> ### 📄 Description ## Summary of the Pull Request Unfortunately, we can't necessarily guarantee that you can open the clipboard. It just happens -.-. So, let's catch this error and not crash the Terminal. <!-- 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 #2570 * [x] CLA signed. * [x] ~Tests added/passed~ * [x] ~Requires documentation to be updated~ * [x] I am a core contributor --- <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:06: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#24995