[PR #9812] [MERGED] Limit terminal warning bells to one per second #27771

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

📋 Pull Request Information

Original PR: https://github.com/microsoft/terminal/pull/9812
Author: @Don-Vito
Created: 4/14/2021
Status: Merged
Merged: 4/14/2021
Merged by: @undefined

Base: mainHead: 9776-throttle-bells


📝 Commits (1)

  • 17974a1 Throttle terminal warning bells

📊 Changes

2 files changed (+18 additions, -1 deletions)

View changed files

📝 src/cascadia/TerminalControl/TermControl.cpp (+16 -1)
📝 src/cascadia/TerminalControl/TermControl.h (+2 -0)

📄 Description

PR Checklist

Detailed Description of the Pull Request / Additional comments

Use ThrottledFunc in TermControl to limit bell emission callback to one per second.


🔄 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/9812 **Author:** [@Don-Vito](https://github.com/Don-Vito) **Created:** 4/14/2021 **Status:** ✅ Merged **Merged:** 4/14/2021 **Merged by:** [@undefined](undefined) **Base:** `main` ← **Head:** `9776-throttle-bells` --- ### 📝 Commits (1) - [`17974a1`](https://github.com/microsoft/terminal/commit/17974a143f5ab5b75278b8ec57b08dab79c112a9) Throttle terminal warning bells ### 📊 Changes **2 files changed** (+18 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `src/cascadia/TerminalControl/TermControl.cpp` (+16 -1) 📝 `src/cascadia/TerminalControl/TermControl.h` (+2 -0) </details> ### 📄 Description <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist * [x] Closes https://github.com/microsoft/terminal/issues/9776 * [x] CLA signed. * [ ] Tests added/passed * [ ] Documentation updated. * [ ] Schema updated. * [ ] I've discussed this with core contributors already. ## Detailed Description of the Pull Request / Additional comments Use `ThrottledFunc` in `TermControl` to limit bell emission callback to one per second. --- <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:24:09 +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#27771