Support Ghostty 1.4, version 1.0.2

The built-in schema now describes Ghostty 1.4.0: 212 options, the new
choices of copy-on-select, window-padding-balance = equal, number limits
that also take "unlimited", and categories for the new options.

genschema reads Ghostty's compatibility table, so old names and values
Ghostty still accepts are no longer reported as errors: a renamed key
such as scrollback-limit is shown in yellow and renamed in place with
enter, a replaced option names its successors, and old values such as
copy-on-select = true are accepted with a note.

Theme previews expand ~/ like Ghostty 1.4 and only look where Ghostty
looks for user themes. Theme names with parentheses of their own keep
them. A live test checks every ghostty command against the installed
Ghostty. Docs and screenshots updated for 1.4.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
mikeandClaude Opus 5.5 committed 2026-10-28 10:44:23 +01:00
1 parent fb5602452a
commit df261910c5
26 files changed
+920 -132

No files matched your search

+16 -1
View File
@@ -63,6 +63,19 @@ Keys in your file that Ghostty doesn't know (typos, options of a newer or
older Ghostty version) appear under **Set in Config** with a red name and an
explanation. They are kept as they are until you remove them with `r`.
Old names and values that Ghostty still reads for compatibility are not
errors, and ghosttyconf doesn't mark them as such:
- **Renamed options**, such as `scrollback-limit` (since 1.4
`scrollback-limit-bytes`) or `background-blur-radius`, have a yellow name.
`enter` renames the entry in place and keeps its value. The current option
shows the value too, with a note that it is set under the old name.
- **Replaced options**, such as `bold-is-bright`, also have a yellow name. The
documentation names the options that replace them. Set those, then remove
the old line with `r`.
- **Old values**, such as `copy-on-select = true` from before 1.4, are
accepted, and the documentation lists the current values.
`←`/`→` or `tab` switch between the category and option lists. `shift+↑`/`↓`
(or `ctrl+u`/`ctrl+d`) scroll the documentation. Mouse clicks and the wheel work
in every list.
@@ -131,7 +144,9 @@ highlighted name. The preview below the list shows the highlighted theme's
prompt, file listing, syntax colors and palette. If your config sets colors
itself (`background`, `cursor-color`, `palette`, …), a note lists them, because
they take precedence over any theme. You can also type a value the list doesn't
know, such as `light:Catppuccin Latte,dark:Catppuccin Mocha`.
know, such as `light:Catppuccin Latte,dark:Catppuccin Mocha`, or the path of a
theme file. Since Ghostty 1.4, a path may start with `~/`, and the preview
finds it there too.
**Fonts.** `font-family`, `font-family-bold` and the other font options offer
the families from `ghostty +list-fonts`.