[PR #772] [MERGED] only restore terminal modes on focus when blurred previously #1552

Closed
opened 2026-03-14 09:43:01 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/anomalyco/opentui/pull/772
Author: @kommander
Created: 3/3/2026
Status: Merged
Merged: 3/3/2026
Merged by: @kommander

Base: mainHead: fix-focus-mouse-reset


📝 Commits (1)

  • 9ab6a12 only restore when blurred previously

📊 Changes

2 files changed (+40 additions, -11 deletions)

View changed files

📝 packages/core/src/renderer.ts (+7 -2)
📝 packages/core/src/tests/renderer.focus-restore.test.ts (+33 -9)

📄 Description

Should fix https://github.com/anomalyco/opencode/issues/15760


🔄 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/anomalyco/opentui/pull/772 **Author:** [@kommander](https://github.com/kommander) **Created:** 3/3/2026 **Status:** ✅ Merged **Merged:** 3/3/2026 **Merged by:** [@kommander](https://github.com/kommander) **Base:** `main` ← **Head:** `fix-focus-mouse-reset` --- ### 📝 Commits (1) - [`9ab6a12`](https://github.com/anomalyco/opentui/commit/9ab6a12fac29a3fd222fa90216545fff8de4470b) only restore when blurred previously ### 📊 Changes **2 files changed** (+40 additions, -11 deletions) <details> <summary>View changed files</summary> 📝 `packages/core/src/renderer.ts` (+7 -2) 📝 `packages/core/src/tests/renderer.focus-restore.test.ts` (+33 -9) </details> ### 📄 Description Should fix https://github.com/anomalyco/opencode/issues/15760 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-14 09:43:01 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/opentui#1552
No description provided.