[PR #683] [CLOSED] Deno 🦖 #1495

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

📋 Pull Request Information

Original PR: https://github.com/anomalyco/opentui/pull/683
Author: @simonklee
Created: 2/13/2026
Status: Closed

Base: mainHead: deno


📝 Commits (10+)

  • 2c638b8 feat(core): add runtime-agnostic ffi loading path
  • c105401 core: fix Deno FFI compat and unblock runtime startup
  • 848e016 examples: make examples work with deno
  • fb29c0c examples: fix extmarks demo and tests
  • b1bcfde fix Bun imports
  • 3c4239c fix(core): preserve opaque FFI pointers across runtimes
  • 2d7c1a2 ffi fixes
  • fca3fca tests
  • f895acd more test and ci fixes for deno support
  • 7fa7513 fix ci/tsconfig for deno build

📊 Changes

182 files changed (+6858 additions, -961 deletions)

View changed files

📝 .github/workflows/build-core.yml (+10 -0)
deno.lock (+3991 -0)
packages/core/deno.json (+15 -0)
📝 packages/core/package.json (+4 -0)
📝 packages/core/src/3d/canvas.ts (+1 -1)
📝 packages/core/src/NativeSpanFeed.ts (+14 -12)
📝 packages/core/src/animation/Timeline.test.ts (+1 -1)
📝 packages/core/src/buffer.test.ts (+1 -1)
📝 packages/core/src/buffer.ts (+3 -3)
📝 packages/core/src/console.test.ts (+1 -1)
📝 packages/core/src/console.ts (+1 -1)
packages/core/src/deno-ffi-structs.ts (+463 -0)
📝 packages/core/src/edit-buffer.test.ts (+35 -34)
📝 packages/core/src/edit-buffer.ts (+2 -2)
📝 packages/core/src/editor-view.test.ts (+1 -1)
📝 packages/core/src/editor-view.ts (+1 -1)
📝 packages/core/src/examples/ascii-font-selection-demo.ts (+4 -1)
📝 packages/core/src/examples/code-demo.ts (+7 -10)
📝 packages/core/src/examples/console-demo.ts (+6 -11)
📝 packages/core/src/examples/diff-demo.ts (+5 -1)

...and 80 more files

📄 Description

Very much WIP.

https://github.com/user-attachments/assets/cc1bdffc-947c-464f-8275-4f1f35da4548


🔄 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/683 **Author:** [@simonklee](https://github.com/simonklee) **Created:** 2/13/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `deno` --- ### 📝 Commits (10+) - [`2c638b8`](https://github.com/anomalyco/opentui/commit/2c638b81e2376f02fd49f53b4202a2ca598025d1) feat(core): add runtime-agnostic ffi loading path - [`c105401`](https://github.com/anomalyco/opentui/commit/c105401315afbae892b274786f17fceaf14323cd) core: fix Deno FFI compat and unblock runtime startup - [`848e016`](https://github.com/anomalyco/opentui/commit/848e016d333e13a4078d2f9132d5762faf980e6c) examples: make examples work with deno - [`fb29c0c`](https://github.com/anomalyco/opentui/commit/fb29c0c9bd3bca6966c2b8952910024aa1aadb38) examples: fix extmarks demo and tests - [`b1bcfde`](https://github.com/anomalyco/opentui/commit/b1bcfdee8f85c356ed492d64b22b525af47d28e7) fix Bun imports - [`3c4239c`](https://github.com/anomalyco/opentui/commit/3c4239cbc28a2766131f8f7e7516189d69d0c5ed) fix(core): preserve opaque FFI pointers across runtimes - [`2d7c1a2`](https://github.com/anomalyco/opentui/commit/2d7c1a2eeacad39c8143169f75c479a4f26b69c3) ffi fixes - [`fca3fca`](https://github.com/anomalyco/opentui/commit/fca3fcad451238e214779e20e614b284d51522b2) tests - [`f895acd`](https://github.com/anomalyco/opentui/commit/f895acdee69a219b43e4906ed9711ff62af8c90d) more test and ci fixes for deno support - [`7fa7513`](https://github.com/anomalyco/opentui/commit/7fa7513c19bdf57496285639322fc1283a575690) fix ci/tsconfig for deno build ### 📊 Changes **182 files changed** (+6858 additions, -961 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/build-core.yml` (+10 -0) ➕ `deno.lock` (+3991 -0) ➕ `packages/core/deno.json` (+15 -0) 📝 `packages/core/package.json` (+4 -0) 📝 `packages/core/src/3d/canvas.ts` (+1 -1) 📝 `packages/core/src/NativeSpanFeed.ts` (+14 -12) 📝 `packages/core/src/animation/Timeline.test.ts` (+1 -1) 📝 `packages/core/src/buffer.test.ts` (+1 -1) 📝 `packages/core/src/buffer.ts` (+3 -3) 📝 `packages/core/src/console.test.ts` (+1 -1) 📝 `packages/core/src/console.ts` (+1 -1) ➕ `packages/core/src/deno-ffi-structs.ts` (+463 -0) 📝 `packages/core/src/edit-buffer.test.ts` (+35 -34) 📝 `packages/core/src/edit-buffer.ts` (+2 -2) 📝 `packages/core/src/editor-view.test.ts` (+1 -1) 📝 `packages/core/src/editor-view.ts` (+1 -1) 📝 `packages/core/src/examples/ascii-font-selection-demo.ts` (+4 -1) 📝 `packages/core/src/examples/code-demo.ts` (+7 -10) 📝 `packages/core/src/examples/console-demo.ts` (+6 -11) 📝 `packages/core/src/examples/diff-demo.ts` (+5 -1) _...and 80 more files_ </details> ### 📄 Description Very much WIP. https://github.com/user-attachments/assets/cc1bdffc-947c-464f-8275-4f1f35da4548 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-14 09:39:48 +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#1495
No description provided.