Skip to content
Tech News
← Back to articles

Emacs-libgterm: Terminal emulator for Emacs using libghostty-vt

read original get Emacs Terminal Emulator Plugin → more articles
Why This Matters

Emacs-libgterm introduces a new terminal emulator for Emacs leveraging Ghostty's optimized libghostty-vt library, enhancing Unicode support, performance, and graphics capabilities. Although still in early development and tested mainly on macOS, it promises improved terminal features for Emacs users, especially those seeking better performance and compatibility.

Key Takeaways

Terminal emulator for Emacs built on libghostty-vt, the terminal emulation library from the Ghostty terminal emulator.

This project follows the same architecture as emacs-libvterm but uses Ghostty's terminal engine, which offers:

SIMD-optimized VT escape sequence parsing

Better Unicode and grapheme cluster support

Text reflow on resize

Kitty graphics protocol support

Active development and maintenance

Status: Early prototype. Fully vibe coded. Only tested on macOS (Apple Silicon). Terminal works with ANSI colors, full key handling, scrollback, cursor sync, and drag-and-drop. Some character width mismatches with Powerline/NerdFont glyphs remain. Here be dragons.

Requirements

Emacs 25.1+ compiled with --with-modules (dynamic module support)

... continue reading