Skip to content

Conversation

@kitlangton
Copy link

@kitlangton kitlangton commented Oct 27, 2025

This resolves #187

I'll add more details later. This is to enable something like terminal.shop to be rewritten in opentui and be run via ssh (so teej can rewrite 😜).

@kitlangton kitlangton changed the title Feat/js output mode Implement Javascript Output Mode to Support SSH Oct 27, 2025
@kommander
Copy link
Collaborator

The build failures are just some typescript type errors.

I would just try to avoid copying the output buffer for every frame to avoid reallocations and the copy overhead by exposing pointers to the output buffers raw memory via lib.zig, connect them once with toArrayBuffer when setting up and then write out from that directly into buns buffered stdout.

Other than that I love this and want to have that in!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Uses process IO Instead of SSH2 socket IO

2 participants