Evaluate Ghostty as an alternative terminal engine

Open
#161 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
typescript

Research direction

Start with the real PTY and browser reproduction from #160, then compare ghostty-web and libghostty against the listed resize, session, input, rendering, and compatibility cases. Done means recording compatibility gaps, required integration work, startup/bundle, memory, and CPU measurements, with a concrete recommendation only if it improves correctness or maintenance.

Written by the indexing model from the issue text.

Description

enhancement triage

Evaluate whether Ghostty's terminal engine would improve Lite's correctness and reduce maintenance compared with xterm.js. Keep xterm for the current 0.0.47 resize fix in #160.

Candidates:

  • Coder ghostty-web: Ghostty's WebAssembly engine with an xterm-style browser API.
  • libghostty: direct embedding would require a broader integration assessment; its API is still evolving.

Use the same real PTY and browser reproduction as #160, including a CLI cursor above a footer, and compare repeated growth/shrink, width-only and combined resizing, font zoom, display scaling, and inactive sessions. Check real Claude/Codex sessions, shells, and full-screen TUIs. Preserve typed drafts, history, scroll position, and continued output.

Before recommending a migration, verify Lite's search counts/highlights, links, clipboard and IME input, shortcuts, theme contrast, buffer snapshots, bounded memory, and inactive-tab rendering on macOS/WebKit, Windows, and Linux. Measure startup and lazy terminal bundle size, memory, and CPU. Record compatibility gaps and the amount of code required to preserve existing behavior.

A migration should demonstrate a concrete correctness or maintenance improvement. Avoid replacing a small dependency fix with a larger compatibility layer.

Dominant language
TypeScript
Stars
45
Forks
7
Avg merge
34m
Merged PRs (30d)
33

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ultralytics/lite

All issues in ultralytics/lite

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.