libghostty-vt on Windows: replacing Alacritty in Paneflow 0.8.1
About version 0.8.1. This article records the Windows migration in July 2026. The
terminal.backendsettings below apply to that release. Paneflow 0.19.1 uses Ghostty on all shipped platforms and no longer includes Alacritty. For setup today, see the Windows installation guide.
Paneflow 0.8.1 made libghostty-vt the default terminal engine in the official Windows x64 build. New sessions used Ghostty when terminal.backend was omitted or set to auto.
The migration followed Linux support in Paneflow 0.8.0. It changed how Paneflow interpreted terminal output and encoded input, while keeping ConPTY for the shell connection and GPUI for rendering.

ConPTY connects the shell, Ghostty interprets the terminal
Paneflow opens a Windows pseudoterminal through portable-pty, which uses ConPTY. It passes the shell's UTF-8 output to libghostty-vt. The engine interprets terminal sequences and maintains the screen, cursor, and scrollback. It also handles Unicode characters, line wrapping, text reflow after resizing, and keyboard and mouse encoding.
Paneflow then copies the terminal state into Rust snapshots for GPUI to draw. Those copies keep rendering separate from Ghostty's native memory: a later terminal update cannot invalidate the data used to draw a frame.
Paneflow embeds the terminal library rather than the Ghostty desktop application. Panes, sessions, process management, persistence, and the interface remain Paneflow's responsibility.
Windows input and session shutdown
The port also had to handle what happens around the engine. The Windows session host groups resize requests, reads the remaining output before closing, and waits for its reader thread to finish. It bounds queued output when several panes are busy at once.
Input support includes AltGr, dead keys, text committed through an input method editor (IME), paste, clipboard, mouse, and focus events. Version 0.8.1 also fixed Shift+Enter handling through key translation and ConPTY, preserving multiline input in agents that use that shortcut.
Redraw notifications are grouped to avoid unnecessary rendering during heavy output. These changes address input, display, and shutdown behavior, without changing how you organize panes or workspaces.
The engine is built into the Windows executable
The official x64 executable statically links ghostty-vt-static.lib. You do not need to install Ghostty or Zig, or add a Ghostty DLL. The MSI installs Paneflow with the engine already built in.
The repository pins the Ghostty source commit and native toolchain, along with headers, Rust bindings, build metadata, licenses, and checksums. CI rebuilds the native archive separately from the Windows application build so it can check that the application uses the expected artifact.
That pinning also creates a maintenance obligation: an engine update requires reviewing the native archive and its matching bindings together.
Alacritty remained available in 0.8.1
In the official Windows x64 build of 0.8.1, auto and ghostty selected Ghostty. To use the previous engine for new sessions, you could set alacritty in paneflow.json:
{
"terminal": {
"backend": "alacritty"
}
}The setting applied only to newly created sessions. If Ghostty failed before the shell process started, Paneflow could fall back to Alacritty once. After startup, a session kept its engine; recovery did not launch a second shell or require deleting workspace data.
This migration covered Windows x64 MSVC and brought it onto the same terminal core as Linux x86_64 and ARM64. Other Windows targets and macOS remained on Alacritty in that release.
Paneflow is a native terminal multiplexer for coding agents, free software under GPL-3.0-or-later. DownloadSource on GitHub