Skip to content

Make layout split vertical. Add xterm.js for output. Add examples selection. - #22

Open
pavelverigo wants to merge 4 commits into
zigtools:mainfrom
pavelverigo:xterm-examples-layout
Open

Make layout split vertical. Add xterm.js for output. Add examples selection.#22
pavelverigo wants to merge 4 commits into
zigtools:mainfrom
pavelverigo:xterm-examples-layout

Conversation

@pavelverigo

@pavelverigo pavelverigo commented Aug 4, 2026

Copy link
Copy Markdown

Title.

Initially, I considered using libghostty. Well, it does not do rendering. There is an option to use ghostty-web. It has zero dependencies, but it is quite new. After I found that xterm.js is one of the most popular options, It also has zero dependencies and a smaller bundle size.

I wanted to add an example that uses Kitty graphics to render an image in the playground. Unfortunately, the xterm addon is only available in the beta version. It is part of the xterm.js repo, which splits some addons into separate packages, has zero dependencies, and lives in the same monorepo. Since Kitty support is only available in beta, I needed to use that version. Given the playground’s current alpha state, I think using the beta branch is fine for now.

@pavelverigo

Copy link
Copy Markdown
Author
xterm-examples-layout.webm

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.

1 participant