← Retour au blog
tech 12 July 2026

Ghostel.el: The Terminal Emulator Powered by libghostty

Discover Ghostel.el, a terminal emulator for Emacs using libghostty, offering enhanced performance and seamless integration.

Article inspired by the original source
Ghostel.el: Terminal emulator powered by libghostty ↗ dakra.github.io

Introduction

In the world of text editors, Emacs holds a special place with its ability to be extended and customized. Among the many extensions available, Ghostel.el stands out as a terminal emulator using the modern libghostty engine. This project is inspired by emacs-libvterm but distinguishes itself by leveraging Ghostty's cutting-edge technology to enhance performance and flexibility.

What is Ghostel.el?

Ghostel.el is a terminal emulator for Emacs, powered by libghostty-vt, a modern VT engine. The native dynamic module is written in Zig, managing terminal state, rendering, and local PTY I/O. Elisp is used for managing keymaps, buffers, commands, and remote process integration.

Key Features

  1. Terminal Emulation: Ghostel offers rich terminal emulation with advanced features like shell integration, automatic password prompt detection, and the ability to execute Elisp commands directly from the shell.
  2. Inline Image Support: Thanks to the Kitty graphics protocol, Ghostel supports inline image display, although this comes with limitations.
  3. TRAMP Integration: For those working with remote terminals, Ghostel provides robust TRAMP integration, allowing for automatic injection of necessary configurations.
  4. Multiple Input Modes: With several input modes including Emacs mode and semi-char mode, users have full control over their terminal interaction.

Installation and Configuration

Requirements

Ghostel requires Emacs 30+ to function properly. Installation can be done via MELPA or manually if needed.

Installation

To install via MELPA, simply add the package to your Emacs configuration file: ``elisp (use-package ghostel :ensure t) ` For manual installation, download the source code from the GitHub repository and add it to your load-path`.

Comparison with Other Emulators

Ghostel positions itself as a viable alternative to other emulators like vterm and eat. Its main difference lies in the use of libghostty, offering better process management and smoother rendering.

Performance

Tests show that Ghostel has reduced typing latency and improved burst absorption compared to alternatives based on Emacs PTY.

Extensions and Integrations

Ghostel is compatible with numerous Emacs extensions. Among them, Evil-mode for Vim users, and eshell for native shell integration.

Conclusion

Ghostel.el stands out as a modern and performant solution for anyone using Emacs as an IDE or a complete development environment. With its advanced features and seamless integration, it is poised to become an indispensable tool for demanding developers.

Let's discuss your project in 15 minutes.

Ghostel.el Emacs libghostty terminal emulator TRAMP integration
Deepthix newsletter · 100% AI · every Monday 8am

An AI agent reads tech for you.

Our AI agent scans ~200 sources per week and ships the best articles to your inbox Monday 8am. Free. One click to unsubscribe.

Visit the newsletter page →

Want to automate your operations?

Let's talk about your project in 15 minutes.

Book a call