[PR #591] [MERGED] fix(core): handle special char markers in getSpanLines #1418

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

📋 Pull Request Information

Original PR: https://github.com/anomalyco/opentui/pull/591
Author: @remorses
Created: 1/25/2026
Status: Merged
Merged: 1/26/2026
Merged by: @kommander

Base: mainHead: fix-capture-spans-marker-chars


📝 Commits (1)

  • 3a81f83 fix(core): handle special char markers in getSpanLines

📊 Changes

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

View changed files

📝 packages/core/src/buffer.ts (+13 -1)
📝 packages/core/src/testing/capture-spans.test.ts (+47 -0)

📄 Description

getSpanLines() now decodes special char markers (box-drawing, graphemes) correctly using getRealCharBytes().


🔄 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/591 **Author:** [@remorses](https://github.com/remorses) **Created:** 1/25/2026 **Status:** ✅ Merged **Merged:** 1/26/2026 **Merged by:** [@kommander](https://github.com/kommander) **Base:** `main` ← **Head:** `fix-capture-spans-marker-chars` --- ### 📝 Commits (1) - [`3a81f83`](https://github.com/anomalyco/opentui/commit/3a81f839d43e72600dc1f68d744697b987e04850) fix(core): handle special char markers in getSpanLines ### 📊 Changes **2 files changed** (+60 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `packages/core/src/buffer.ts` (+13 -1) 📝 `packages/core/src/testing/capture-spans.test.ts` (+47 -0) </details> ### 📄 Description getSpanLines() now decodes special char markers (box-drawing, graphemes) correctly using getRealCharBytes(). --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-14 09:35:45 +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#1418
No description provided.