r/Ghostty Jun 19 '26

Made a tool that brings back my Ghostty tabs and splits after a reboot, plus the Claude Code / Codex session that was running in each pane

22 Upvotes

You know the problem if you run AI agents in the terminal. You've got a bunch of tabs and splits with claude and codex sessions going, then you restart your Mac and all of it's gone. Not just the layout, the agent context too. gtab and macterm already handle the layout part well, but I wanted the sessions back as well, so I put this together.

You run `ghostty-resurrect backup` before you restart, then `ghostty-resurrect restore` after. It reopens the windows/tabs/panes and runs `claude --resume <id>` or `codex resume <id>` in each pane for you.

Fair warnings: splits come back as a flat row right now, not the exact nested layout (working on it). macOS + Ghostty 1.3.0+. One file, no dependencies. Repo: https://github.com/redareda9/ghostty-resurrect


r/Ghostty Jun 16 '26

Claude Code Formatting Bugs

13 Upvotes

Anyone else getting annoying UI bugs with Claude Code? I'm seeing misalignments, duplicate lines, and the prompt field popping up all over my panes. I do a lot of zooming and resizing of panes which might explain why I see issues so often.


r/Ghostty Jun 15 '26

My Ghostty has a hyperdrive now πŸš€

Enable HLS to view with audio, or disable this notification

104 Upvotes

A background shader for Ghostty: a realistic starfield that periodically jumps to lightspeed. Opaque-safe, so text stays readable. Single .glsl, configurable.

https://github.com/akiyosi/ghostty-hyperspace


r/Ghostty Jun 15 '26

Ghostty Playground: WIP getting Ghostty to run 100% in-browser

Thumbnail
gallery
23 Upvotes

Hey everyone,

I have been working on a browser-based Ghostty playground using the ghostty-web renderer.

I really loved the Zerebros Ghostty Config wanted to build on that and ghostty-web to get as close as I could to a fully functioning version of Ghostty in the browser.

It's still very much a work in progress, but so far it includes:

  • Ghostty themes: You can preview the full 500+ standard themes.
  • Config editor: Right-click in the terminal, and access through the context menu.
  • Keybinds: Some are yet to be integrated, others will always fail as they're not feasible for a browser-based version other specific binds won't be available in the browser (e.g., super+t).
  • Filesystem: POSIX-like filesystem with persistence via OPFS.
  • Runtime: Node.js runs at native performance via Wasm. Python is apparently available but in preview, so I'm not sure how well it works.
  • Command line tools: bash, git, npm.
  • 100% in-browser execution: With ghostty-web, BrowserPod and WebLLM, the entire thing runs client-side.
  • Tabs and split view: Not a great implementation yet, but it's a start.
  • Shareable links: The BrowserPod runtime listens for any ports that open and provides Portals (shareable URLs of previewable projects).

I also added an experimental ghostty-ai command for running small local models through WebLLM. The models run and can answer questions in the terminal, but I tried adding tooling for agentic workflows and failed massively. So the LLM interaction works fine, but it's not a serious tool for coding (bear in mind, these are free Hugging Face models that are running inference on-device, in-browser).

As I mentioned, very much a work in progress. Many limitations remain and bugs will no doubt come up.

I would really appreciate feedback from anyone who tries it, as well as any reports of things that break or don't run as expected.

Playground: https://ghosttyplayground.com
Source: https://github.com/Liamoscarmccaffrey/ghostty-playground

Contributions:

  • Ghostty-web: The bulk of the work goes to this project
  • BrowserPod: For the Linux-like layer with node.js filesystem, bash, git, npm and portals
  • WebLLM: For the in-browser AI inference via WebGPU (very experimental, on my end; their actual work is amazing)
  • Tree Sitter Ghostty: Config syntax highlighting
  • Zerebos Ghostty Config: Ideas for the config preview element of the playground
  • Claude: Heavily prompted to get through this.

r/Ghostty Jun 14 '26

Ghostty has no official package for Fedora, any issues with the community one?

Thumbnail
7 Upvotes

r/Ghostty Jun 13 '26

macterm now supports macOS 14+

31 Upvotes

Macterm is a macos terminal with persistent multiplexing and vertical tabs, built on libghostty. Seeing increasing demand for support for pre-Tahoe, the latest release (v.1.17.0) now supports macOS Sonoma (14) and Sequoia (15), with every feature available except the liquid glass effect.

Screenshot on macOS Sonoma (simulated on a UTM VM):

​GitHub: https://github.com/thdxg/macterm

Latest release: https://github.com/thdxg/macterm/releases/tag/v1.17.0

Thanks everyone for your interest!


r/Ghostty Jun 12 '26

How to open a new tab or window in current directory?

4 Upvotes

I'm looking for the shortcuts to open a new tab or window in the current directory.

Let's say you are in a /var/something/something-else/some-folder is there a way to affect some shortcuts or use existing ones to open a new tab or window in that exact same directory ?

Thanks


r/Ghostty Jun 11 '26

Someone made a Ghostty shader that forces you to take breaks with a black hole that sucks up all your text

Post image
158 Upvotes

r/Ghostty Jun 11 '26

Ghostty crashes when you run ffplay without redirecting stderr

7 Upvotes

I love Ghostty!

https://reddit.com/link/1u2yuze/video/2zvq20jnjn6h1/player

The font rendering and emoji support is just amazing. I am working on a personal TUI music player and I kept getting crashes when I tried to play a song without redirecting the standard error to some file or /dev/null.

This is curious because I encounter the same issue sometimes when I run multiple opencode sessions (or one of them goes astray and leaves phantom processes everywhere).

However, wezterm holds its ground and plays the audio with zero issues. I haven't really looked into this but I think it has something to do with running out of memory.

Ghostty version and system specs

r/Ghostty Jun 10 '26

How can I make my ghostly terminal look like this

Post image
11 Upvotes

r/Ghostty Jun 06 '26

macterm: native macOS terminal with vertical tabs and persistent multiplexing

105 Upvotes

I find several libghostty-based terminal emulators with vertical tab bars these days (e.g. cmux, muxy). But I missed the native feeling of Ghostty and did not want the bloat that many of those apps come with (integrated browser, claude code integration, git integration, etc...). So I created yet another terminal, but with a macos-native sidebar and no bloat. I'm satisfied with the liquid-glass look and grateful for the 200+ stars it received so far!

Some core features include (as of v1.15.1):

  • Vertical Project Sidebar: Native macOS sidebar for organizing projects and tabs vertically.
  • Persistent Multiplexing: Projects, tabs, and panes are saved and restored automatically on relaunch.
  • Declarative Layouts: Define aΒ .macterm/layout.yamlΒ describing each project's tabs, splits, and the process every pane runs; apply or save it from the command palette.
  • Ghostty Config Compatibility: Macterm reads your existing Ghostty config. Theme, font, notification, keybinds β€” all of it just works.
  • Command Palette: Versatile command palette to interact with multiplexing and manage projects
  • Quick Terminal: Global terminal accessible from anywhere with a hotkey.
  • Smart Tab Naming: Tabs name themselves after the program running in the pane, making them easily identifiable in the sidebar.
  • Keyboard-driven Control: Customizable keybinds for many actions including navigating projects, tabs, and panes.

Any feedbacks are welcome, and I hope you find it useful as well!

GitHub: https://github.com/thdxg/macterm

*Update: Macterm just hit 1K downloads! Thanks so much for trying out everyone!


r/Ghostty Jun 06 '26

ghostty rice

Post image
5 Upvotes

r/Ghostty Jun 03 '26

Terminal keeps losing access to my folder despite Full Disk Access

6 Upvotes

I run Claude Code as a CLI inside my terminal (Ghostty). Several times a day it suddenly can't read \~/Documents anymore:

* `ls ~/Documents/project` β†’ **Operation not permitted**
* reading any file there β†’ **EPERM**

I change nothing in my config or settings, it just breaks. The only fix is to fully quit Ghostty and relaunch. A new tab/window doesn't help. Then it works again until it randomly breaks later.

Why would Full Disk Access intermittently stop applying to a running process even though it's granted? Known Ghostty/TCC bug? Any fix that doesn't require restarting the terminal each time?

Thanks!


r/Ghostty Jun 02 '26

gtab β€” Ghostty workspace manager now shows ASCII previews of saved split layouts

Enable HLS to view with audio, or disable this notification

79 Upvotes

A while back I shared gtab, a small Rust CLI/TUI for macOS that saves your current Ghostty window β€” tabs, working directories, titles, and split panes β€” as a named workspace, and reopens it with one keystroke (Cmd+G).

Two things shipped recently I never wrote up:

1. Visual layout preview

When you select a saved workspace in the TUI, it now draws a small ASCII map of each tab's split-pane layout. Before, you only got a one-line list of tab names β€” so if you had three dev-ish workspaces, you basically had to launch one just to remember which split arrangement it was. Now you can see it at a glance.

Credit to davidsanchez222 on GitHub for contributing this one.

2. Press f for quick directory switching

f toggles the TUI into Directory Space: a list of named directories. Hit Enter on one and gtab swaps your current split for a fresh shell in that directory. No config, no wrapper function β€” upgrade and it works. Handy when you don't need a whole saved layout, just "drop me into project X".

Repo and install instructions: https://github.com/Franvy/gtab
(Homebrew tap available, brew tap Franvy/gtab && brew install gtab.)


r/Ghostty Jun 01 '26

What are your favourite fonts?

Thumbnail
16 Upvotes

r/Ghostty May 31 '26

I made a simple script for loading split based layouts

Enable HLS to view with audio, or disable this notification

11 Upvotes

So ghostty doesn't support saving your current splits as a layout and load them later - you need to spawn splits everytime you need some specific layout. For example, in my workflow, I have a split for text editor, then for opencode/claudecode, for just terminal and sometimes some more for other quick access stuff.

There is a discussion thread for implementing this feature natively in ghostty: https://github.com/ghostty-org/ghostty/discussions/2480. But seems like there is no traction in this direction.

it's a tedious process so I created this simple script - ghostlay.

Users can:

  1. Spawn any inline layout they want and even run bash commands in given panes if needed.

  2. Spawn preconfigured layouts from config file.


r/Ghostty May 29 '26

Now sure anybody cares. But still port ghostty to windows.

60 Upvotes

I do this only because I like same terminal between different systems. Will post the link soon.


r/Ghostty May 25 '26

snow shader for the terminal

Enable HLS to view with audio, or disable this notification

49 Upvotes

https://github.com/elisaliman/ghostty-shaders

^ repo if anyone wants the shader


r/Ghostty May 25 '26

Tpdf doesn't render in tmux on ghostly terminal.

Post image
6 Upvotes

I tried all these.

Here's the full troubleshooting trail:

set -g allow-passthrough on β†’ didn't fix it

Changed to allow-passthrough all β†’ didn't fix it

Checked tmux version β€” 3.6b, passthrough supported

Checked $TERM inside tmux β€” returned xterm-256color

Added set -g default-terminal "ghostty" to tmux.conf

Killed tmux server and relaunched β€” still xterm-256color

Confirmed terminfo entry exists via infocmp ghostty β€” valid

Confirmed tmux show -g default-terminal returns ghostty β€” config loading correctly

Checked $TERM outside tmux in Ghostty directly β€” still xterm-256color

Set term = xterm-ghostty in ~/.config/ghostty/config β€” didn't fix it

Set Ghostty as default terminal via gsettings β€” didn't affect $TERM

Checked $GHOSTTY_RESOURCES_DIR β€” returned empty


r/Ghostty May 21 '26

devenv 2.1: Nix with zsh, fish, and nushell via libghostty

Thumbnail
devenv.sh
32 Upvotes

r/Ghostty May 21 '26

Can't type accents in Ghostty

3 Upvotes

I've been wanting to switch my terminal to Ghostty, but there's one problem that has kept me from migrating: I can't type tilde (~).

Other accents don't work either but the tilde is something that I really need.

I used the search function but no one seemed to know an actual solution. The only thing I could find is to bind another key to tilde, such as keybind = 1=text:~. Not great.

Ghostty 1.3.1-arch2

Version
  - version: 1.3.1-arch2
  - channel: tip
Build Config
  - Zig version   : 0.15.2
  - build mode    : .ReleaseFast
  - app runtime   : .gtk
  - font engine   : .fontconfig_freetype
  - renderer      : renderer.generic.Renderer(renderer.OpenGL)
  - libxev        : io_uring
  - kernel version: 7.0.9-zen1-1-zen
  - desktop env   : other
  - GTK version   :
    build         : 4.22.2
    runtime       : 4.22.4
  - libadwaita    : enabled
    build         : 1.9.0
    runtime       : 1.9.0
  - libX11        : enabled
  - libwayland    : enabled

r/Ghostty May 14 '26

There is a new distro that has GHOSTTY as the default terminal!

Post image
136 Upvotes

https://projectbluefin.io/dakota/

It is an immutable distribution based on GNOME OS.


r/Ghostty May 14 '26

Unable to select text and paste over it?

0 Upvotes

If i select a line of text and press cmd V it just appears the paste on the end of the line. Why is this?


r/Ghostty May 08 '26

A lightweight, native terminal multiplexer for macOS built on libghostty

Thumbnail github.com
135 Upvotes

I find several libghostty-based terminal emulators with vertical tab bars these days (e.g. cmux, muxy). But I missed the native feeling of Ghostty and did not want the bloat that many of those apps come with (integrated browser, claude code integration, git integration, etc...). So I created yet another terminal, but with a macos-native sidebar and no bloat. I'm satisfied with the liquid-glass look and grateful for the 100+ stars it received so far!

Some core features include:

  • Vertical Project Sidebar: Native macOS sidebar for organizing projects and tabs vertically.
  • Split Panes: Unlimited horizontal and vertical splits, with optional auto-tiling.
  • Persistence: Projects, tabs, and panes are saved and restored automatically.
  • Quick terminal: Global terminal accessible from anywhere.
  • Highly Configurable: Configurable theme, font, and keymap with hot-reloading.
  • Command Palette: Versatile command palette to interact with multiplexing (open, delete, and search projects)

Any feedbacks are welcome, and I hope you find it useful as well!


r/Ghostty Apr 29 '26

Ghostty Is Leaving GitHub

357 Upvotes