[PR #731] [MERGED] introduce TextTable renderable #1524

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

📋 Pull Request Information

Original PR: https://github.com/anomalyco/opentui/pull/731
Author: @kommander
Created: 2/23/2026
Status: Merged
Merged: 2/23/2026
Merged by: @kommander

Base: mainHead: explore-simplified-table


📝 Commits (10+)

📊 Changes

13 files changed (+3413 additions, -1 deletions)

View changed files

📝 packages/core/package.json (+1 -0)
packages/core/src/benchmark/text-table-benchmark.ts (+846 -0)
📝 packages/core/src/buffer.ts (+30 -0)
📝 packages/core/src/examples/index.ts (+7 -0)
packages/core/src/examples/text-table-demo.ts (+411 -0)
packages/core/src/renderables/TextTable.test.ts (+705 -0)
packages/core/src/renderables/TextTable.ts (+1104 -0)
packages/core/src/renderables/__snapshots__/TextTable.test.ts.snap (+101 -0)
📝 packages/core/src/renderables/index.ts (+1 -0)
📝 packages/core/src/zig-structs.ts (+5 -0)
📝 packages/core/src/zig.ts (+45 -0)
📝 packages/core/src/zig/buffer.zig (+128 -0)
📝 packages/core/src/zig/lib.zig (+29 -1)

📄 Description

A simple renderable to render text as table. No yoga layout within the table, no complex renderables, text only.


🔄 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/731 **Author:** [@kommander](https://github.com/kommander) **Created:** 2/23/2026 **Status:** ✅ Merged **Merged:** 2/23/2026 **Merged by:** [@kommander](https://github.com/kommander) **Base:** `main` ← **Head:** `explore-simplified-table` --- ### 📝 Commits (10+) - [`f3e3040`](https://github.com/anomalyco/opentui/commit/f3e3040868a1f627859003ee2cedd8ee7776cff9) init - [`1503c9f`](https://github.com/anomalyco/opentui/commit/1503c9f1858ef822104b2cd29d5474ac3a643220) example and more test - [`792a29e`](https://github.com/anomalyco/opentui/commit/792a29e3c7c4e0a47295f0d1755eab116a932229) render bottom border - [`47a472e`](https://github.com/anomalyco/opentui/commit/47a472e64ac5cc618947b8d03c99fe1477bb142b) add simple benchmarks - [`c1c78d6`](https://github.com/anomalyco/opentui/commit/c1c78d600390bf77ca29fdefec52ddb8da1f8382) selection aware - [`5d16870`](https://github.com/anomalyco/opentui/commit/5d168705e7a1cead926f31aba9c3bd30be8f570c) selection content in demo - [`7d2855a`](https://github.com/anomalyco/opentui/commit/7d2855a0295387b517d12c26289995fa38a6d82c) demo layout - [`5a37f9f`](https://github.com/anomalyco/opentui/commit/5a37f9fdf848aafbace903544f4bb70fb8953730) demo scrollbox - [`0dd7b57`](https://github.com/anomalyco/opentui/commit/0dd7b57b82e113f3868c758f82f6d0b778afc035) demo tweak - [`32fc24b`](https://github.com/anomalyco/opentui/commit/32fc24b193a098b262281909ad9aa2724213cf9d) non-live demo ### 📊 Changes **13 files changed** (+3413 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `packages/core/package.json` (+1 -0) ➕ `packages/core/src/benchmark/text-table-benchmark.ts` (+846 -0) 📝 `packages/core/src/buffer.ts` (+30 -0) 📝 `packages/core/src/examples/index.ts` (+7 -0) ➕ `packages/core/src/examples/text-table-demo.ts` (+411 -0) ➕ `packages/core/src/renderables/TextTable.test.ts` (+705 -0) ➕ `packages/core/src/renderables/TextTable.ts` (+1104 -0) ➕ `packages/core/src/renderables/__snapshots__/TextTable.test.ts.snap` (+101 -0) 📝 `packages/core/src/renderables/index.ts` (+1 -0) 📝 `packages/core/src/zig-structs.ts` (+5 -0) 📝 `packages/core/src/zig.ts` (+45 -0) 📝 `packages/core/src/zig/buffer.zig` (+128 -0) 📝 `packages/core/src/zig/lib.zig` (+29 -1) </details> ### 📄 Description A simple renderable to render text as table. No yoga layout within the table, no complex renderables, text only. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-14 09:41:24 +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#1524
No description provided.