Article View: linux.debian.devel
Article #499Bug#1154236: ITP: libghostty-vt -- portable, high-performance C library for terminal emulation
From: Edmund Lodewijks
Date: Tue, 17 Nov 2026 11:50
Date: Tue, 17 Nov 2026 11:50
55 lines
4772 bytes
4772 bytes
Package: wnpp
Severity: wishlist
Owner: Edmund Lodewijks <edmund@proteamail.com>
X-Debbugs-Cc: debian-devel@lists.debian.org
* Package name : libghostty-vt
Version : 1.0.1
Upstream Contact: Mitchell Hashimoto and Ghostty contributors
* URL : https://github.com/ghostty-org/ghostty (library docs:
https://lib.ghostty.org/vt/)
* License : MIT
Programming Lang: C (built with Zig; no C/C++ toolchain needed to build it)
Description : virtual terminal emulation library from Ghostty
libghostty-vt is a standalone C library, split out of the Ghostty
terminal emulator, that implements terminal emulation: parsing the
stream of bytes a program writes to a pseudo-terminal (escape
sequences, control codes, etc.) and maintaining the resulting
terminal state (screen grid, scrollback, cursor, modes). It exposes
a C ABI (<ghostty/vt.h>) that is independent of Ghostty's GUI, so it
can be embedded by any terminal, multiplexer, or TUI tool that needs
a battle-tested VT parser rather than writing its own.
.
The library is distributed on its own release cycle, separately
from the Ghostty application, with vt-X.Y.Z tags and signed source
tarballs (release.files.ghostty.org/libghostty-vt/). 1.0.0 (tagged
2026-11-06) was the first release with a stable C ABI; 1.0.1 followed
on 2026-11-11. The shared library's SONAME tracks only the major
version (libghostty-vt.so.1), and upstream's own
PACKAGING-LIBGHOSTTY.md explicitly discusses splitting it into
runtime/dev packages and suggests the Debian-style runtime package
name libghostty-vt1.
.
Upstream builds it exclusively with Zig (0.17.x for this release);
there is no CMake or autotools build path, only a Zig build that
downstream users can also reach via pkg-config/CMake fetch wrappers
after installation. Zig itself is not yet packaged in Debian, but
work is on the way in this regard (to which I contribute).
.
Other distributions already carry it as a separate package: Arch's
AUR, Fedora/Terra, and FreeBSD Ports. The AUR package documents that
the standalone build installs files (/usr/include/ghostty/vt.h,
/usr/lib/libghostty-vt.so, etc.) that collide with Ghostty's own
bundled build of the same library, and so declares Conflicts against
the ghostty package. Debian already has an open ITP for ghostty
itself (#1091469, owned by nick black); whichever of these two
packages lands first will need the other's maintainer to either
patch the ghostty build to not install its bundled libghostty-vt to
system paths, or to have ghostty depend on libghostty-vt-dev instead
of building its own copy. I'll coordinate with #1091469 on this
before uploading.
.
I intend to package libghostty-vt via the zig-team, as a new source
package producing libghostty-vt1 (runtime) and libghostty-vt-dev
(headers, .pc/.cmake files, static library).
Technical Details
Message-ID:
<O0pRf-crPg-1@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.corradoroberto.it!bofh.it!news.nic.it!robomodShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.corradoroberto.it!bofh.it!news.nic.it!robomod From: Edmund Lodewijks <edmund@proteamail.com> Newsgroups: linux.debian.bugs.dist,linux.debian.devel Subject: Bug#1154236: ITP: libghostty-vt -- portable, high-performance C library for terminal emulation Date: Tue, 17 Nov 2026 12:50:01 +0100 Message-ID: <O0pRf-crPg-1@gated-at.bofh.it> X-Original-To: Debian Bug Tracking System <submit@bugs.debian.org> X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Tue Nov 17 11:41:06 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.451 Reply-To: Edmund Lodewijks <edmund@proteamail.com>, 1154236@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: debian-devel@lists.debian.org, wnpp@debian.org X-Debian-Pr-Message: report 1154236 X-Debian-Pr-Package: wnpp X-Dkim-Filter: PhoenixDKIM Filter v1.0.0 mail.proteamail.com via nbg-mx-proteamail-1 4jTN7J2Hjsz2xhK Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Dkim-Key-Compromise: NOTE REGARDING DKIM KEY COMPROMISE https://proteamail.com/dkim-rotate/README.txt https://proteamail.com/dkim-rotate/79/791d306e3d6976168b7a7ad70c957ae8.pem X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2003131 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 55 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Tue, 17 Nov 2026 13:39:38 +0200 X-Original-Message-ID: <179491557824.11027.14809709395023916089.reportbug@debian-builder>