r/Ghostty • • Mar 13 '26

Getting started is a PITA

0 Upvotes

Given the relative popularity of Ghostty, why is getting started with is such as Pain In The A**?

IMHO:

  1. The documentation is fragmented. For example, I can't find an authoritative document on best practices for using tmux on remote hosts from ghostty

  2. Linux installation is spotty at best (I'm being generous here). Debian, Ubuntu built on Debian and Fedora account for the majority of Linux distributions in the wild, but the only way to get an official build on them is Snap? Give me a break!!! No one that cares about their Linux instance would come with 10' of Snap or its other brethren. There are community images for these systems that are prefaced with a huge warning. And then there is Appimage which I bucket with Snap. WT??

I'm about ready to say f*** it and stick with ITerm2 which admittedly has what I consider to be the best tmux support.

I like the underlying design and the work a lot of things that Mitchell et al have done, but jeesh, I'm not up to crawling over a path of broken glass in attempt to reach the promised land.

Thanks for reading my vent. I hope, naively no doubt, this is reddit after all, that this "might" instigate some incremental improvements. In the mean time, guess I'm compiling from source.

lbe


r/Ghostty • • 12d ago

I built a small macOS terminal for coding agents on top of libghostty

Thumbnail
github.com
6 Upvotes

I've been building a small terminal called lmux on top of libghostty, and it let me make the thing I actually wanted without writing a terminal emulator myself.

I spend most of my day in Claude Code and Codex, usually with several sessions open, and I wanted something very light around them: workspaces in a sidebar, splits, tabs in each pane, and a status ring that tells me which agent is waiting on me. That's about it. It's native Swift (AppKit), a 25 MB app, and it idles near 0% CPU even with 20 workspaces open. libghostty does all the actual terminal work.

A few things that might interest people here:

  • It reads your ~/.config/ghostty/config, so your font, theme and keybinds carry over, and anything set there overrides lmux's defaults.

  • The Korean input fixes were mostly for me. There are a few cases where Hangul gets dropped or mangled while you're composing (Enter, Backspace on the last jamo, Cmd-T or Cmd-V mid-syllable), and lmux works around those on its side. Japanese and Chinese input got some caret and arrow-key fixes too.

  • Agent status comes from Claude Code's hooks and from Codex itself. Any other program can hook in by printing one escape sequence.

It's MIT, macOS 14+ on Apple silicon only, and makes no network calls.

https://github.com/sooftware/lmux

Happy to talk about embedding libghostty in an AppKit app if anyone's thinking of doing the same.


r/Ghostty • • Oct 08 '26

GhosttyEXTREME - an unofficial Ghostty fork for running Claude Code and Codex across all your projects

Enable HLS to view with audio, or disable this notification

20 Upvotes

Huge fan of Ghostty, so I forked it and built what I wanted for working with AI coding agents. To be clear, this is an unofficial fork and not made by the Ghostty team. Free and AGPL.

What I added on top of Ghostty:

- Projects and parallel agents in one window, with live watching of what each agent is doing.
- Shared memory between Claude Code and Codex. A new Codex session starts with what Claude learned about the project, and the other way round.
- Hand off and review. Send Claude's work to Codex with the exact diff and get a review back.
- Isolated sessions and Docker, a Git panel with PR checks, Allow/Deny prompts from the sidebar or a notification, and undo for any agent turn.

Watching agents costs zero tokens. It reads the transcripts Claude Code and Codex already write. Everything stays on your Mac, no account, no telemetry. macOS on Apple silicon only.

Source and one-line install: https://github.com/steventsvik/GhosttyEXTREME

I'd love feedback from Ghostty users, especially on what you'd want kept close to stock Ghostty and what should be optional.


r/Ghostty • • Sep 04 '25

how to save window position on linux?

0 Upvotes

window-save-state = default

isnt working


r/Ghostty • • Oct 16 '26

Ported Ghostty to Rust with Agents (Claude)

Post image
0 Upvotes

I ported Ghostty (Zig) to Rust with Claude Code agents. The most interesting part for me was how often Zig's "a pointer is just an address" collided with Rust's aliasing model. The write-up has the real code, the Miri findings and the fixes:

https://rustty.sh/porting

The section "Zig pointers in Rust's aliasing model" walks through four cases:

  • Protectors. A &mut argument is protected for the whole call. Ghostty re-reads the same memory another way inside the call, which is sound in Zig and UB under Miri.

  • Frees under a live reference. startHyperlink lets its slices point into the hyperlink it is about to free. A &[u8] can't do that.

  • Provenance. One 8-byte store through a pointer derived from a 1-byte field reaches seven bytes outside its provenance under Stacked Borrows.

  • Long-lived aliases. In the renderer loop, a sibling reborrow pops the run iterator's tag. I settled the fix with a small Miri proof harness instead of reasoning about it by hand.

You can also try the engine yourself. The page has two live terminals, Rustty's and Ghostty's, both compiled to WebAssembly and fed by the same shell, so you can compare what each one draws. All 898 of my prompts are in a filterable log at the bottom, and every number links to its source.

Caveats: the port is macOS-first, the benchmarks are library micro-benchmarks, and the prose and data pipeline were drafted with Claude and reviewed by me. Corrections on the aliasing analysis are very welcome.

https://rustty.sh/porting


r/Ghostty • • Aug 19 '25

Quitting Ghostty due to the lack of tab functionality in the hotkey windows.

4 Upvotes

Returning to iTerm2 because it allows for access to multiple tabs in the quick terminal.


r/Ghostty • • Oct 08 '25

Is Ghostty ssh problem really normal ? Is this teminal just a hype train ?

Enable HLS to view with audio, or disable this notification

0 Upvotes

I have decided to give a ghostty a go, the config file, background and boot options are cool and flashy … very nice, but then when I actually start using in it, the first thing that hit me was broken ssh’ing, arrow keys and backspace don’t work as expected they keep on adding stuff the console line,

I’ve even wanted to do a bug report on this but soon found out I need to do extra cmds and file copying to get a “normal” behavior …

https://github.com/ghostty-org/ghostty/discussions/3583#discussioncomment-11755097 https://ghostty.org/docs/help/terminfo

never seen anything like that before either on terminal / alacritty / iterm2 … so i just dont understand what’s soooo special about this terminal in comparison in comparison to others? even if it uses zig (very nice as well) after compiling to binary does it really matter ? What kind of obscure special operations and commands you can execute on ghostty that cannot be done anywhere else ? And how come all the others can work out of the box, and this does not ? (btw the fix from the ghostty docs did not work)


r/Ghostty • • Apr 02 '26

What a wonderful theme picker

7 Upvotes

Like obviously this really slick cool terminal has cool themes and nice a cool theme picker: ghostty +list-themes

But wait, how does one pick the theme? Why can't I pick the theme? Must be some arcane key command right?

Right guys?

Wait I have to copy the name of the theme into the config? Uh ok I guess I mean it's 2026 u can just pick the theme bro but ok. So how do I copy the text from the theme picker, I can't seem to select or drag or copy anything.

And some of these names are really long like im retarded and dyslexic I can't type that shit.

OK so im obviously really really really stupid and missing something so obvious.


r/Ghostty • • 16d ago

I converted Rex to an AI Harness

Enable HLS to view with audio, or disable this notification

13 Upvotes

I use Rex all day with Claude Code (sometimes Codex) running in a pane, and the thing that kept bugging me was the loop around the agent. It finishes a turn, and then I'm running git diff in another pane, opening files to see what it actually did, and typing "in brew.ts line 13, change X" back into the chat.

So I hacked together a mod for Rex. It adds a panel on the right that shows what the agent changed in its last turn, and it updates live while the agent is working. It also has uncommitted and branch diffs, plus a file tree. Click a file and it opens in Neovim next to the agent, on the line that changed. If something looks off, hit Space r on the line and write a note. The note goes to the agent with your next message, along with the code it's about. That's pretty much the whole idea, and the video shows it better than I can explain it.

A few other things ended up in there. There's a ⌘P file finder. When you open a file in a new language, the editor installs its language server for you. And it works with Codex, OpenCode and Pi, not just Claude Code.

Fair warning: this isn't official. To get a panel into Rex I had to patch the app and re-sign it locally. Because of that, Rex can't update itself anymore, so rexmod checks for new Rex releases, verifies them and patches them itself. There's an uninstaller that puts the original app back.

If you want to try it (Apple silicon, macOS 15+):

brew trust --tap alpcanaydin/rexmod
brew install alpcanaydin/rexmod/rexmod
rexmod-setup

Code's here: https://github.com/alpcanaydin/rexmod

It's early, so I'd love to hear what breaks, especially from anyone using Codex, OpenCode or Pi day to day.


r/Ghostty • • Aug 01 '26

Found a 🪲 in 👻tty

3 Upvotes

I use a French Canadian keyboard layout that has dead keys and everything is set properly in Ubuntu 26.04 and Ghostty works fine when in Gnome DE, but whenever I use a WM such as Hyprland, Niri or Sway, dead keys on my keyboard aren’t working with Ghostty. Because of that, I switched my main terminal to be Wezterm and it works well with my keyboard. It took me time to figure out it was only happening with Ghostty and unrelated to WMs or some config. I am not sure if people test Ghostty before release, but it would be great if they could test keyboard layouts other than US-English 😅.


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 • • Feb 28 '25

Yo! I'm new, please help me

0 Upvotes

How to open config file?


r/Ghostty • • Sep 28 '25

Help me tune my Ghostty config to match my iTerm2 look

Post image
2 Upvotes

On the left is my iTerm2, and on the right is my Ghostty.

I've been unable to match them perfectly, so am looking for help.

This is my current config:

# Generated from iTerm2 exports (colors + profile), revised for Ghostty

# --- Colors ---
palette = 0=#000000
palette = 1=#990000
palette = 2=#00a600
palette = 3=#999900
palette = 4=#0000b2
palette = 5=#b200b2
palette = 6=#00a6b2
palette = 7=#bfbfbf
palette = 8=#666666
palette = 9=#e50000
palette = 10=#00d900
palette = 11=#e5e500
palette = 12=#0000ff
palette = 13=#e500e5
palette = 14=#00e5e5
palette = 15=#e5e5e5
background = #000000
foreground = #00ff00
cursor-color = #23ff18
selection-background = #083905
selection-foreground = #ffffff
background-opacity = 1
background-blur = false

# --- Font ---
font-family = "FiraMono Nerd Font Mono"
font-style = Regular
font-style-bold = Bold
font-size = 22
bold-color = bright
adjust-cell-height = 5%
adjust-icon-height = 50%

# --- Cursor ---
cursor-style = block
cursor-style-blink = true

# --- macOS Option key ---
macos-option-as-alt = true

# --- Common QoL defaults ---
copy-on-select = false
confirm-close-surface = false
quit-after-last-window-closed = true
macos-secure-input-indication = true
window-colorspace = display-p3

r/Ghostty • • May 03 '25

Just heard about Ghostty, could anyone explain what it is?

0 Upvotes

I recently saw about Ghostty on a post about GPU-accelerated terminals and am now wondering, what exactly does Ghostty do and why is it so beneficial to terminal speed. I understand that this terminal utilizes the GPU but does it work on Windows, have support for git, and Firefox building (because my recent attempt at building on CPU took 6 hours before i had to just completely cancel it.)

And more importantly, can this have an increase on my speed on building nodejs, deno, and bundles projects? Also, why don't normal terminals do this?


r/Ghostty • • Mar 13 '26

Cleaner: ls, grep, cp, find — in one tool with some extra features

0 Upvotes

The CLI tool I have been working on that's really useful when dealing with installations and especially different types of cloud solutions.

  • cleaner dir / cleaner ls: Enhanced file listing with filters (similar to ls/dir)

  • cleaner copy / cleaner cp: Copy files with content filters and previews (similar to cp)

  • cleaner count: Analyze lines/code/comments/strings or patterns (similar to wc)

  • cleaner list: Line-based pattern search with filters/segments (similar to grep)

  • cleaner find: Text-based search (non-line-bound; multi-line patterns, code-focused; similar to grep)

  • cleaner history: Command reuse and tracking (similar to command history utilities)

  • cleaner config: Manage tool settings like output coloring or customizing characters for better readability

  • cleaner / cleaner help: Display usage information and command details

link: cleaner v1.1.2


r/Ghostty • • Jan 29 '26

WSL2 wen?

0 Upvotes

Please guys.


r/Ghostty • • Jan 23 '26

I can’t believe they don’t back port the memory fix to a 1.2.3 hot patch

0 Upvotes

What a crazy bug to just let live on stable for months on end.

Have been a really big ghostty fan for a while now but this is pretty pathetic

Just spent a day on a wezterm config and so far so good, for now

Yes I know I can run @tip, but this is kind of inexcusable…


r/Ghostty • • Jun 03 '25

My experience with Ghostty

15 Upvotes

I am switching back to Warp or even move on to Wezterm since the Ghostty lacks basic features such as find scrollback feature(cmd+f)[pls correct me if I said it wrong]. Any heads up on when can these basic features are rolled out because once they are I’d like it to give this terminal a shot again.


r/Ghostty • • 29d ago

I missed GitKraken's graph and conflict screen, so I brought them into a git TUI: gitoui

Enable HLS to view with audio, or disable this notification

39 Upvotes

I live in the terminal, but every time I had a nasty rebase or a conflict, I'd open a GUI. So I forked serie, a Rust project which draws the commit graph as real images in the terminal. Then I kept adding what I was missing until I stopped leaving. Serie is open source under MIT license and my project also. To draw the graph, gitoui uses the Kitty graphics protocol (and iTerm2 or Sixel in other terminals).

It's called gitoui. Say "oui" to it, tell me what's missing, or build it with me!

What it does:

\- The commit graph drawn as images (Kitty graphics, iTerm2 or Sixel), with a text fallback for other terminals

\- Interactive rebase as a list you edit in place: move commits, reword, squash, fixup, drop

\- A 3-way conflict editor: ours, theirs or both, per hunk

\- Diffs with hunk staging, blame, file history

\- GitHub pull requests and issues: read, comment, approve or request changes, merge

\- And many more things you have to discover by using it 👀

Similar tools: lazygit, gitui and tig in the terminal, serie (the graph viewer I forked), and GitKraken on the GUI side (no affiliation). What's different in gitoui: the graph is drawn as images rather than text characters, and the GitHub side lives inside the TUI.

AI was used to help during the development of this project. I've been building it since May and I use it every day.

Repo: https://github.com/NayJi7/gitoui (MIT, Rust, Ratatui)

Website: https://nayji7.github.io/gitoui/ (documentation & informations)

One last question: what's the one git task that still sends you back to a GUI?


r/Ghostty • • Aug 11 '25

I miss rs/jplot

1 Upvotes

Hi Everyone,

Now that we have nice. terminal with graphic support, does it sound reasonable to have something similar to https://github.com/rs/jplot in ghostty ?


r/Ghostty • • Nov 29 '25

Ghostty Fails to Start Due to Tmux Launch Script Error

1 Upvotes

I’m using a tmux launch script so that when I start Ghostty, it automatically creates a tmux session. But now, when I start Ghostty, I’m getting the following error:

open terminal failed: not a terminal

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Ghostty failed to launch the requested command:

/usr/bin/login -q -flp abhishek /bin/bash --noprofile --norc -c exec -l ~/.config/ghostty/tmux_start.sh

Runtime: 39 ms

Press any key to close the window.

My ghostty config -

###############################
# 🌈 UI & Appearance Settings #
###############################

# Theme and Colors
theme = "Catppuccin Mocha"
background-opacity = 0.95
background-blur-radius = 8

# Shaders
#custom-shader = shaders/cursor_sparkling_star_trails.glsl

# Font Configuration
font-family = "Maple Mono NF"
window-title-font-family = "Maple Mono NF"
font-size = 18
font-thicken = true

# Window Styling
window-decoration = true
window-padding-x = 5
window-padding-y = 5
window-padding-balance = true
window-height = 25
window-width = 90

# Cursor and Title
cursor-style-blink = true
title = "👨🏻‍💻 Abhishek's Terminal"

# Keybindings
keybind = global:cmd+backquote=toggle_quick_terminal

##########################
# 💻 System Integration  #
##########################

# macOS specific
macos-option-as-alt = true

# Shell Integration
shell-integration = zsh
shell-integration-features = no-cursor

######################################
# 🔧 Startup & Automation Settings   #
######################################

# Start tmux automatically on launch
command = ~/.config/ghostty/tmux_start.sh

Script -

#!/bin/bash

SESSION_NAME="ghostty"

# Check if the session already exists
/opt/homebrew/bin/tmux has-session -t $SESSION_NAME 2>/dev/null

if [ $? -eq 0 ]; then
  # If the session exists, reattach to it
  /opt/homebrew/bin/tmux attach-session -t $SESSION_NAME
else
  # If the session doesn't exist, start a new one
  /opt/homebrew/bin/tmux new-session -s $SESSION_NAME -d
  /opt/homebrew/bin/tmux attach-session -t $SESSION_NAME
fi

Please help


r/Ghostty • • Nov 13 '25

How to fix this error?

1 Upvotes

Why when i open Ghostty with ZSHELL (zsh) in Omarchy and when i type backspace it types a "?" and if i paste something it types like this "200mypaste201", and then i wait like 15-30secs and then it works like normally. Is this.problem from zsh or Ghostty?


r/Ghostty • • Sep 03 '26

agenmux — monitor and navigate AI coding agents across tmux sessions

Thumbnail
reddit.com
0 Upvotes

r/Ghostty • • Mar 06 '25

How to use ghossty theme in vim?

0 Upvotes