A VS Code extension that provides a terminal powered by ghostty-web (WASM) instead of xterm.js. The terminal renders inside a VS Code WebviewPanel and connects to a real shell process via node-pty.
Features
Full terminal emulator using Ghostty's battle-tested VT100 parser compiled to WASM
Multiple simultaneous terminal instances
Configurable shell, font, cursor, scrollback, and color themes
Built-in themes: Dark, Light, Tokyo Night, Dracula, Solarized Dark
Inherits VS Code's terminal.integrated.fontSize and terminal.integrated.fontFamily by default
Live config updates (font, theme, cursor changes apply immediately)
Installation
npm install
npm run build
Then press F5 in VS Code to launch the Extension Development Host.
Usage
Command Palette (Cmd+Shift+P / Ctrl+Shift+P):
Ghostty Terminal: New Terminal — open a new terminal
Ghostty Terminal: Clear Active Terminal — clear the active terminal
Ghostty Terminal: Kill Active Terminal — kill the active terminal
Ghostty Terminal: Focus Active Terminal — focus the active terminal
Keyboard shortcut: Cmd+Shift+`` (macOS) / Ctrl+Shift+`` (Windows/Linux) — new terminal
Configuration
All settings are under the ghosttyTerminal namespace.
Setting
Default
Description
shell
"" (auto-detect)
Shell executable path
shellArgs
[]
Arguments passed to the shell
fontSize
0 (inherit)
Font size in pixels. 0 inherits from terminal.integrated.fontSize
fontFamily
"" (inherit)
Font family. Empty inherits from terminal.integrated.fontFamily
theme
"dark"
Color theme: dark, light, tokyo-night, dracula, solarized-dark, or custom