All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

Ghostty-web: A Web Terminal Emulator with xterm.js API Compatibility and Enhanced Unicode Support

By

kylecarbs

6mo ago· 2 min readenCode

Summary

Ghostty-web is a web-based terminal emulator designed as a drop-in replacement for xterm.js with better Unicode support and full VT100 compatibility. It addresses fundamental issues in xterm.js like poor handling of complex scripts (Devanagari, Arabic) and missing XTPUSHSGR/XTPOPSGR support. Originally created for Mux desktop app, it's now available as a general-purpose web terminal solution with proper grapheme handling and full terminal emulation features.

Key quotes

· 5 pulled
Ghostty for the web with xterm.js API compatibility — giving you a proper VT100 implementation in the browser.
xterm.js is everywhere—VS Code, Hyper, countless web terminals. But it has fundamental issues.
Complex scripts (Devanagari, Arabic): xterm.js has rendering issues, ghostty-web has proper grapheme handling.
XTPUSHSGR/XTPOPSGR: xterm.js not supported, ghostty-web has full support.
Originally created for Mux (a desktop app for isolated, parallel agentic development), but designed to be used anywhere.
Snippet from the RSS feed
Ghostty for the web with xterm.js API compatibility - coder/ghostty-web

You might also wanna read