[PR #457] [MERGED] fix diff stale lineInfo #1327

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

📋 Pull Request Information

Original PR: https://github.com/anomalyco/opentui/pull/457
Author: @kommander
Created: 12/29/2025
Status: Merged
Merged: 12/29/2025
Merged by: @kommander

Base: mainHead: diff-rendering-2


📝 Commits (10+)

📊 Changes

8 files changed (+789 additions, -168 deletions)

View changed files

📝 packages/core/src/examples/diff-demo.ts (+106 -9)
📝 packages/core/src/renderables/Code.test.ts (+288 -6)
📝 packages/core/src/renderables/Code.ts (+15 -43)
📝 packages/core/src/renderables/Diff.regression.test.ts (+1 -1)
📝 packages/core/src/renderables/Diff.test.ts (+217 -0)
📝 packages/core/src/renderables/Diff.ts (+51 -86)
📝 packages/core/src/tests/scrollbox.test.ts (+23 -23)
📝 packages/solid/tests/diff.test.tsx (+88 -0)

📄 Description

No description provided


🔄 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/457 **Author:** [@kommander](https://github.com/kommander) **Created:** 12/29/2025 **Status:** ✅ Merged **Merged:** 12/29/2025 **Merged by:** [@kommander](https://github.com/kommander) **Base:** `main` ← **Head:** `diff-rendering-2` --- ### 📝 Commits (10+) - [`14c7b21`](https://github.com/anomalyco/opentui/commit/14c7b2114238ae069917c3eb62f122da6d465585) more demo diffs - [`315420b`](https://github.com/anomalyco/opentui/commit/315420b49584bc4bed6b77a0d740d6f7803a60d4) reproduce - [`3ac60ab`](https://github.com/anomalyco/opentui/commit/3ac60ab3f983eaf861bf5df0893c31120b27414d) no stale content - [`94c33fd`](https://github.com/anomalyco/opentui/commit/94c33fd31e02b03480414cbd0db46c5c1f646c5e) maybe reproduce better - [`b961d1f`](https://github.com/anomalyco/opentui/commit/b961d1f3595c5afb0450bf4594f70db62ccd71ec) proper repro? - [`70ddad7`](https://github.com/anomalyco/opentui/commit/70ddad710ff3eb6824e439c7c399b937ecd1a060) solving but breaking others - [`75fe840`](https://github.com/anomalyco/opentui/commit/75fe8409e178294ee443355b9ab2ab87921f0279) maybe - [`090c5b3`](https://github.com/anomalyco/opentui/commit/090c5b3513486df8fe2594e320b0b41466ba133c) fix one - [`16b8bc9`](https://github.com/anomalyco/opentui/commit/16b8bc9f0170cd103516ff7acab353283021ceb6) stash - [`7bff8ab`](https://github.com/anomalyco/opentui/commit/7bff8ab06933bf1972427e4c0057f0d18cde84d3) cleanup ### 📊 Changes **8 files changed** (+789 additions, -168 deletions) <details> <summary>View changed files</summary> 📝 `packages/core/src/examples/diff-demo.ts` (+106 -9) 📝 `packages/core/src/renderables/Code.test.ts` (+288 -6) 📝 `packages/core/src/renderables/Code.ts` (+15 -43) 📝 `packages/core/src/renderables/Diff.regression.test.ts` (+1 -1) 📝 `packages/core/src/renderables/Diff.test.ts` (+217 -0) 📝 `packages/core/src/renderables/Diff.ts` (+51 -86) 📝 `packages/core/src/tests/scrollbox.test.ts` (+23 -23) 📝 `packages/solid/tests/diff.test.tsx` (+88 -0) </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-14 09:30:54 +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#1327
No description provided.