[PR #290] [MERGED] mode 2026 + better capability detection #1202

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

📋 Pull Request Information

Original PR: https://github.com/anomalyco/opentui/pull/290
Author: @kommander
Created: 11/10/2025
Status: Merged
Merged: 11/10/2025
Merged by: @kommander

Base: mainHead: mode-2026-caps


📝 Commits (10+)

📊 Changes

19 files changed (+1360 additions, -314 deletions)

View changed files

📝 packages/core/dev/keypress-debug-renderer.ts (+6 -1)
📝 packages/core/src/examples/ascii-font-selection-demo.ts (+2 -2)
📝 packages/core/src/examples/text-node-demo.ts (+2 -2)
📝 packages/core/src/examples/text-selection-demo.ts (+2 -2)
📝 packages/core/src/examples/text-wrap.ts (+2 -2)
📝 packages/core/src/lib/KeyHandler.test.ts (+102 -138)
📝 packages/core/src/lib/KeyHandler.ts (+12 -28)
📝 packages/core/src/lib/parse.keypress-kitty.test.ts (+187 -0)
📝 packages/core/src/lib/parse.keypress.test.ts (+147 -0)
📝 packages/core/src/lib/parse.keypress.ts (+40 -0)
📝 packages/core/src/lib/stdin-buffer.test.ts (+229 -76)
📝 packages/core/src/lib/stdin-buffer.ts (+52 -15)
packages/core/src/lib/terminal-capability-detection.test.ts (+134 -0)
packages/core/src/lib/terminal-capability-detection.ts (+79 -0)
📝 packages/core/src/renderer.ts (+64 -35)
📝 packages/core/src/tests/renderer.input.test.ts (+269 -0)
📝 packages/core/src/zig/ansi.zig (+1 -1)
📝 packages/core/src/zig/renderer.zig (+3 -0)
📝 packages/core/src/zig/terminal.zig (+27 -12)

📄 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/290 **Author:** [@kommander](https://github.com/kommander) **Created:** 11/10/2025 **Status:** ✅ Merged **Merged:** 11/10/2025 **Merged by:** [@kommander](https://github.com/kommander) **Base:** `main` ← **Head:** `mode-2026-caps` --- ### 📝 Commits (10+) - [`f423e05`](https://github.com/anomalyco/opentui/commit/f423e057df1f5c7f188c1b97528b3bb1fc0ea1ad) stash - [`2bc568b`](https://github.com/anomalyco/opentui/commit/2bc568b2badeaf28a980d18d4da9ef4d43c8dc80) filter terminal response sequences in key parser - [`a6a323c`](https://github.com/anomalyco/opentui/commit/a6a323c9b45c46b00e9af98b7d53b3eb536b96ba) keyhandler as manual pipe - [`eee83ce`](https://github.com/anomalyco/opentui/commit/eee83ce438d394625ae3240a5c9980459328315a) stdin buffer manual process - [`2f502b7`](https://github.com/anomalyco/opentui/commit/2f502b7e7eefaebcf2f3f6326eda306d5f6e4182) get rid of deprecated key event - [`757d23e`](https://github.com/anomalyco/opentui/commit/757d23ed43cbd9ad8566d0abb4b16c1897efb01a) extract and cover capas detection - [`341841c`](https://github.com/anomalyco/opentui/commit/341841cb1efe7e858422bf0afd01baf68d53f8d9) stash - [`b81906c`](https://github.com/anomalyco/opentui/commit/b81906cf11e48b1dcd4988d48e117f02dad12766) remove capa hanling after timeout - [`ba1f195`](https://github.com/anomalyco/opentui/commit/ba1f195c28d89c99f7d02fec5cd669aca8c4548c) proper kitty graphics detection - [`b33dbb4`](https://github.com/anomalyco/opentui/commit/b33dbb45b4b6a1cbdc6e6885c0a6ddcae48f704a) enable mode 2026 ### 📊 Changes **19 files changed** (+1360 additions, -314 deletions) <details> <summary>View changed files</summary> 📝 `packages/core/dev/keypress-debug-renderer.ts` (+6 -1) 📝 `packages/core/src/examples/ascii-font-selection-demo.ts` (+2 -2) 📝 `packages/core/src/examples/text-node-demo.ts` (+2 -2) 📝 `packages/core/src/examples/text-selection-demo.ts` (+2 -2) 📝 `packages/core/src/examples/text-wrap.ts` (+2 -2) 📝 `packages/core/src/lib/KeyHandler.test.ts` (+102 -138) 📝 `packages/core/src/lib/KeyHandler.ts` (+12 -28) 📝 `packages/core/src/lib/parse.keypress-kitty.test.ts` (+187 -0) 📝 `packages/core/src/lib/parse.keypress.test.ts` (+147 -0) 📝 `packages/core/src/lib/parse.keypress.ts` (+40 -0) 📝 `packages/core/src/lib/stdin-buffer.test.ts` (+229 -76) 📝 `packages/core/src/lib/stdin-buffer.ts` (+52 -15) ➕ `packages/core/src/lib/terminal-capability-detection.test.ts` (+134 -0) ➕ `packages/core/src/lib/terminal-capability-detection.ts` (+79 -0) 📝 `packages/core/src/renderer.ts` (+64 -35) 📝 `packages/core/src/tests/renderer.input.test.ts` (+269 -0) 📝 `packages/core/src/zig/ansi.zig` (+1 -1) 📝 `packages/core/src/zig/renderer.zig` (+3 -0) 📝 `packages/core/src/zig/terminal.zig` (+27 -12) </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:24: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#1202
No description provided.