Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve invalid keybind error messages #3727

Closed
wants to merge 96 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
96 commits
Select commit Hold shift + click to select a range
dfd7785
deinit buffer
salfel Dec 28, 2024
ac8eac0
Use `source` in the example for sourcing Zsh shell integration
00-kat Dec 28, 2024
c749156
fix(gtk): fix segfault/bus error on ctrl+d
leigholiver Dec 28, 2024
153caa4
Add MDItemKeywords
finnvoor Dec 28, 2024
c86de63
docs: correct default value of `gtk-single-instance`
mmirus Dec 28, 2024
d53b938
chore: undo unintentional change
mmirus Dec 28, 2024
4d0feaa
Update Config.zig
hisamafahri Dec 28, 2024
160c262
docs: add guide for setting quick terminal toggle keybind
ronit18 Dec 28, 2024
33df336
docs: Add info about adjustments to adjustment config options
pingiun Dec 28, 2024
b663ac1
Clarify how to read logs on macOS
nalzok Dec 28, 2024
da3e5cc
gtk: add option to not link against libX11
jcollie Dec 28, 2024
a57b5c8
ci: test gtk via a matrix
mitchellh Dec 28, 2024
ccb92ab
prettier
mitchellh Dec 28, 2024
3348c62
run gtk matrix on small instances
mitchellh Dec 28, 2024
447be52
ci: install nix
mitchellh Dec 28, 2024
a053ebb
Update the pre-approved issue template
mitchellh Dec 29, 2024
3dee60a
deps: Update iTerm2 color schemes
mitchellh Dec 29, 2024
ec3fe8d
Add 'command delete' default to macOS
Koray08 Dec 28, 2024
609ba94
Replace 'w' with '\x15'
Koray08 Dec 28, 2024
200cf6b
ci: our GTK tests were installing Cachix twice
mitchellh Dec 29, 2024
7298d96
confirm-close-surface option can be set to always to always require c…
ErfanTech Dec 28, 2024
a0b1bba
Use premultiplied alpha for renderer clearColor
lixiaoyan Dec 27, 2024
ab186ce
Fix the typing error when building on Linux
lixiaoyan Dec 27, 2024
b73c7e4
cgroup: change suffix to .scope
ruihe774 Dec 29, 2024
85609be
apprt: add window-titlebar-{background,foreground} config options
tristan957 Dec 28, 2024
b55574a
gtk/x11: link directly to libX11, no more dlopen
jcollie Dec 29, 2024
9e1e2ab
chore: Add milestone workflow to add milestone to merged PR and fixed…
hustcer Dec 29, 2024
2faf089
Fix markdown formatting for (blank) in docs
rtfeldman Dec 29, 2024
b93bc6b
Add default Nix overlay
sestrella Dec 29, 2024
73a4f0a
misc: add desktop entry fields to support xdg-terminal-exec
ruihe774 Dec 29, 2024
e5bbd14
Add delay before updating the title
maciekbartczak Dec 28, 2024
34e5f55
Invalidate the timer when the surface is destroyed
maciekbartczak Dec 29, 2024
bb3de90
fix: scrollback limit not being parsed correctly
aw1875 Dec 29, 2024
b976b10
config: add `title_report` (default false) to configure CSI 21 t
mitchellh Dec 29, 2024
ae443ae
testing: handle execveZ failing during test execution
anund Dec 26, 2024
6877b1a
testing: move cleanup of execveZ into the test code
anund Dec 26, 2024
0144d29
testing: point Command.zig at ~more universal external binaries
anund Dec 27, 2024
f9c9a80
renderer: track if fg/bg/cursor color is explicitly set by an OSC
gpanders Dec 27, 2024
821a8f0
macos: disable auto-updates for local (source) builds
jparise Dec 27, 2024
692322d
macos: disable Sparkle checks in Debug and Release
jparise Dec 27, 2024
217f35e
Revert "macos: disable auto-updates for local (source) builds (#3273)"
mitchellh Dec 29, 2024
379f373
CI: Update release-tag.yml to include the version in the source archi…
AnthonyZhOon Dec 27, 2024
4094eee
Use github yaml substitution for yaml element
AnthonyZhOon Dec 27, 2024
375328c
ci: keep old source tarballs as well
mitchellh Dec 29, 2024
fad04ba
macos: disable auto-updates for local builds
jparise Dec 29, 2024
46c6c3e
apprt/gtk: create the tab overview even if gtk-titlebar=false
tristan957 Dec 29, 2024
25beb65
Fix typo in config reference: window-decorations -> window-decoration
521337 Dec 29, 2024
59ec233
Fix typo in list-themes browser
goproslowyo Dec 29, 2024
acfd503
apprt/gtk: style the tab overview when window-theme=ghostty
tristan957 Dec 28, 2024
192a527
apprt/gtk: use CSS variables to deduplicate code
tristan957 Dec 29, 2024
e510653
note source tarball name for 1.0.0
mitchellh Dec 29, 2024
e14cbdf
Allow startup without $HOME writable
mitchellh Dec 29, 2024
f2a02c2
apprt/gtk: fix website link in about window
tristan957 Dec 29, 2024
7680460
macos: restore 0 blur-radius when reloading config
gigamonster256 Dec 29, 2024
9c47b8a
Add back quotes for variables in the zsh shell integration to improve…
lixiaoyan Dec 30, 2024
27ffe4b
macos: Help menu goes to website docs
mitchellh Dec 30, 2024
9eceee5
apprt/gtk: make window-decoration=false with gtk-titlebar=true look b…
tristan957 Dec 30, 2024
14f67b3
gtk: Install 1024x1024 icon
rivenirvana Dec 29, 2024
129fd4d
macos: add generated Nvim files to app bundle
liby Dec 30, 2024
46a232d
bash: remove "request for experts" comment
jparise Dec 30, 2024
1697853
fix: quick terminal CPU spikes
dmehala Dec 30, 2024
de0fa9a
gtk: correct comptime adwaita.versionAtLeast() comparison
jcollie Dec 30, 2024
a5414cb
Correct the comptime GTK atLeast() function
iainh Dec 29, 2024
8bb9e5a
Add unit tests
iainh Dec 30, 2024
3af13f3
Be more idiomatic in tests when comparing to booleans
iainh Dec 30, 2024
1ad48ee
bash: improved 'sudo' command wrapper
jparise Dec 30, 2024
63949d9
apprt/gtk: move some static CSS to the style.css file
tristan957 Dec 30, 2024
50b3edf
surface: handle hyperlinks more reliably
rockorager Dec 27, 2024
6432ba5
config: edit opens AppSupport over XDG on macOS, prefers non-empty paths
mitchellh Dec 30, 2024
2ba929a
apprt/gtk: fix the combination of gtk-titlebar=false and gtk-tabs-loc…
tristan957 Dec 29, 2024
2584468
macos: correctly save terminal fullscreen style
gigamonster256 Dec 30, 2024
995bc54
Ensure correct coordinate ordering in selection file write
liby Dec 30, 2024
bd3c4ad
Add pin order assertion in Pin.pageIterator
liby Dec 30, 2024
8129ce4
fix(gtk): fix issue detecting preferred color scheme
leigholiver Dec 28, 2024
0d01dc3
Set alpha component for fullscreen background colour
ZeinHajjAli Dec 29, 2024
bfbd043
fix: quick terminal `focus-follows-mouse` behaviour
dmehala Dec 29, 2024
5121497
font/freetype: Rewrite monoToGrayscale algorithm
sin-ack Dec 29, 2024
a7f85c7
font/freetype: Enable bitmap glyphs for non-color faces
sin-ack Dec 29, 2024
d2f44d3
font/freetype: Add test for crisp bitmap font rendering
sin-ack Dec 29, 2024
3c0a985
font/freetype: Downgrade pixfmt conversion log to debug
sin-ack Dec 29, 2024
c95a284
feat: support for short hex colors in config
acsetter Dec 30, 2024
32c7e47
font/freetype: hardcode DPI in test to avoid variation between OS
mitchellh Dec 30, 2024
97a5e46
Revert "coretext: exclude bitmap fonts from discovery"
qwerasd205 Dec 30, 2024
a300c0c
font/coretext: properly resolve metrics for bitmap-only fonts
qwerasd205 Dec 30, 2024
5559eaa
os: don't return stack memory
mitchellh Dec 30, 2024
a9d4af2
Fix clipboard confirmation window typo
Dec 30, 2024
c2223cd
gtk: don't use gtk_window_set_titlebar if adwaita is enabled but it's…
jcollie Dec 30, 2024
3cb1975
macOS: weak self for event monitor to avoid retain cycle for controllers
mitchellh Dec 30, 2024
c756617
feat(config): generate default template when config file is not found
pluiedev Dec 27, 2024
ac61c47
gtk: make sure that window-decoration is honored on all paths
jcollie Dec 30, 2024
e9d54e9
gtk: also add css window-decorated class when toggling window decorat…
jcollie Dec 31, 2024
4a231d6
input: parse triggers with codepoints that map to keys as translated
mitchellh Dec 31, 2024
3ba8d7f
surface: don't issue mode 2031 DSR reports when colors are changed by…
moni-dz Dec 30, 2024
4e0433f
config: fix segfault if font-family is reset via the CLI
mitchellh Dec 31, 2024
5736c4d
deps: Update iTerm2 color schemes
mitchellh Dec 31, 2024
2daeb0d
Improve invalid keybind error messages
otherJL0 Dec 28, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/ISSUE_TEMPLATE/preapproved.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@ about: |-
Only for topics already discussed and approved in the GitHub Discussions section.
---

Discussion Number:
**DO NOT OPEN A NEW ISSUE. PLEASE USE THE DISCUSSIONS SECTION.**

**I DIDN'T READ THE ABOVE LINE. PLEASE CLOSE THIS ISSUE.**
32 changes: 32 additions & 0 deletions .github/workflows/milestone.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Description:
# - Add milestone to a merged PR automatically
# - Add milestone to a closed issue that has a merged PR fix (if any)

name: Milestone Action
on:
issues:
types: [closed]
pull_request_target:
types: [closed]

jobs:
update-milestone:
runs-on: namespace-profile-ghostty-sm
name: Milestone Update
steps:
- name: Set Milestone for PR
uses: hustcer/milestone-action@v2
if: github.event.pull_request.merged == true
with:
action: bind-pr # `bind-pr` is the default action
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# Bind milestone to closed issue that has a merged PR fix
- name: Set Milestone for Issue
uses: hustcer/milestone-action@v2
if: github.event.issue.state == 'closed'
with:
action: bind-issue
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 2 additions & 0 deletions .github/workflows/release-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ jobs:

# Updater
/usr/libexec/PlistBuddy -c "Set :SUPublicEDKey $SPARKLE_KEY_PUB" "macos/build/Release/Ghostty.app/Contents/Info.plist"
/usr/libexec/PlistBuddy -c "Delete :SUEnableAutomaticChecks" "macos/build/Release/Ghostty.app/Contents/Info.plist"

- name: Codesign app bundle
env:
Expand Down Expand Up @@ -261,6 +262,7 @@ jobs:

# Updater
/usr/libexec/PlistBuddy -c "Set :SUPublicEDKey $SPARKLE_KEY_PUB" "macos/build/Release/Ghostty.app/Contents/Info.plist"
/usr/libexec/PlistBuddy -c "Delete :SUEnableAutomaticChecks" "macos/build/Release/Ghostty.app/Contents/Info.plist"

- name: Codesign app bundle
env:
Expand Down
14 changes: 12 additions & 2 deletions .github/workflows/release-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ jobs:
source-tarball:
runs-on: namespace-profile-ghostty-md
needs: [setup]
env:
GHOSTTY_VERSION: ${{ needs.setup.outputs.version }}
steps:
- uses: actions/checkout@v4

Expand All @@ -87,19 +89,24 @@ jobs:
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"

- name: Create Tarball
run: git archive --format=tgz --prefix=ghostty-source/ -o ghostty-source.tar.gz HEAD
run: |
git archive --format=tgz --prefix="ghostty-${GHOSTTY_VERSION}/" -o "ghostty-${GHOSTTY_VERSION}.tar.gz" HEAD
git archive --format=tgz --prefix=ghostty-source/ -o ghostty-source.tar.gz HEAD

- name: Sign Tarball
run: |
echo -n "${{ secrets.MINISIGN_KEY }}" > minisign.key
echo -n "${{ secrets.MINISIGN_PASSWORD }}" > minisign.password
nix develop -c minisign -S -m ghostty-source.tar.gz -s minisign.key < minisign.password
nix develop -c minisign -S -m "ghostty-${GHOSTTY_VERSION}.tar.gz" -s minisign.key < minisign.password
nix develop -c minisign -S -m "ghostty-source.tar.gz" -s minisign.key < minisign.password

- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: source-tarball
path: |-
"ghostty-${{ env.GHOSTTY_VERSION }}.tar.gz"
"ghostty-${{ env.GHOSTTY_VERSION }}.tar.gz.minisig"
ghostty-source.tar.gz
ghostty-source.tar.gz.minisig

Expand Down Expand Up @@ -165,6 +172,7 @@ jobs:

# Updater
/usr/libexec/PlistBuddy -c "Set :SUPublicEDKey $SPARKLE_KEY_PUB" "macos/build/Release/Ghostty.app/Contents/Info.plist"
/usr/libexec/PlistBuddy -c "Delete :SUEnableAutomaticChecks" "macos/build/Release/Ghostty.app/Contents/Info.plist"

- name: Codesign app bundle
env:
Expand Down Expand Up @@ -352,6 +360,8 @@ jobs:
run: |
mkdir blob
mkdir -p blob/${GHOSTTY_VERSION}
mv "ghostty-${GHOSTTY_VERSION}.tar.gz blob/${GHOSTTY_VERSION}/ghostty-${GHOSTTY_VERSION}.tar.gz"
mv ghostty-${GHOSTTY_VERSION}.tar.gz.minisig blob/${GHOSTTY_VERSION}/ghostty-${GHOSTTY_VERSION}.tar.gz.minisig
mv ghostty-source.tar.gz blob/${GHOSTTY_VERSION}/ghostty-source.tar.gz
mv ghostty-source.tar.gz.minisig blob/${GHOSTTY_VERSION}/ghostty-source.tar.gz.minisig
mv ghostty-macos-universal.zip blob/${GHOSTTY_VERSION}/ghostty-macos-universal.zip
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/release-tip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ jobs:

# Updater
/usr/libexec/PlistBuddy -c "Set :SUPublicEDKey $SPARKLE_KEY_PUB" "macos/build/Release/Ghostty.app/Contents/Info.plist"
/usr/libexec/PlistBuddy -c "Delete :SUEnableAutomaticChecks" "macos/build/Release/Ghostty.app/Contents/Info.plist"

- name: Codesign app bundle
env:
Expand Down Expand Up @@ -419,6 +420,7 @@ jobs:

# Updater
/usr/libexec/PlistBuddy -c "Set :SUPublicEDKey $SPARKLE_KEY_PUB" "macos/build/Release/Ghostty.app/Contents/Info.plist"
/usr/libexec/PlistBuddy -c "Delete :SUEnableAutomaticChecks" "macos/build/Release/Ghostty.app/Contents/Info.plist"

- name: Codesign app bundle
env:
Expand Down Expand Up @@ -593,6 +595,7 @@ jobs:

# Updater
/usr/libexec/PlistBuddy -c "Set :SUPublicEDKey $SPARKLE_KEY_PUB" "macos/build/Release/Ghostty.app/Contents/Info.plist"
/usr/libexec/PlistBuddy -c "Delete :SUEnableAutomaticChecks" "macos/build/Release/Ghostty.app/Contents/Info.plist"

- name: Codesign app bundle
env:
Expand Down
43 changes: 40 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -329,16 +329,53 @@ jobs:
- name: Test GTK Build
run: nix develop -c zig build -Dapp-runtime=gtk -Dgtk-adwaita=true -Demit-docs

- name: Test GTK Build (No Libadwaita)
run: nix develop -c zig build -Dapp-runtime=gtk -Dgtk-adwaita=false -Demit-docs

- name: Test GLFW Build
run: nix develop -c zig build -Dapp-runtime=glfw

# This relies on the cache being populated by the commands above.
- name: Test System Build
run: nix develop -c zig build --system ${ZIG_GLOBAL_CACHE_DIR}/p

test-gtk:
strategy:
fail-fast: false
matrix:
adwaita: ["true", "false"]
x11: ["true", "false"]
name: GTK adwaita=${{ matrix.adwaita }} x11=${{ matrix.x11 }}
runs-on: namespace-profile-ghostty-sm
needs: test
env:
ZIG_LOCAL_CACHE_DIR: /zig/local-cache
ZIG_GLOBAL_CACHE_DIR: /zig/global-cache
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup Cache
uses: namespacelabs/nscloud-cache-action@v1.2.0
with:
path: |
/nix
/zig

# Install Nix and use that to run our tests so our environment matches exactly.
- uses: cachix/install-nix-action@v30
with:
nix_path: nixpkgs=channel:nixos-unstable
- uses: cachix/cachix-action@v15
with:
name: ghostty
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"

- name: Test GTK Build
run: |
nix develop -c \
zig build \
-Dapp-runtime=gtk \
-Dgtk-adwaita=${{ matrix.adwaita }} \
-Dgtk-x11=${{ matrix.x11 }}

test-macos:
runs-on: namespace-profile-ghostty-macos
needs: test
Expand Down
11 changes: 9 additions & 2 deletions PACKAGING.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,17 @@ at `release.files.ghostty.org` in the following URL format where
`VERSION` is the version number with no prefix such as `1.0.0`:

```
https://release.files.ghostty.org/VERSION/ghostty-source.tar.gz
https://release.files.ghostty.org/VERSION/ghostty-source.tar.gz.minisig
https://release.files.ghostty.org/VERSION/ghostty-VERSION.tar.gz
https://release.files.ghostty.org/VERSION/ghostty-VERSION.tar.gz.minisig
```

> [!NOTE]
>
> **Version 1.0.0 the filename is `ghostty-source.tar.gz`.** Future
> versions will use the `ghostty-VERSION.tar.gz` format since it is more
> typical for source tarballs. But for version 1.0.0, the filename is
> `ghostty-source.tar.gz`.

Signature files are signed with
[minisign](https://jedisct1.github.io/minisign/)
using the following public key:
Expand Down
49 changes: 49 additions & 0 deletions build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,53 @@ pub fn build(b: *std.Build) !void {
"Enables the use of Adwaita when using the GTK rendering backend.",
) orelse true;

config.x11 = b.option(
bool,
"gtk-x11",
"Enables linking against X11 libraries when using the GTK rendering backend.",
) orelse x11: {
if (target.result.os.tag != .linux) break :x11 false;

var pkgconfig = std.process.Child.init(&.{ "pkg-config", "--variable=targets", "gtk4" }, b.allocator);

pkgconfig.stdout_behavior = .Pipe;
pkgconfig.stderr_behavior = .Pipe;

try pkgconfig.spawn();

const output_max_size = 50 * 1024;

var stdout = std.ArrayList(u8).init(b.allocator);
var stderr = std.ArrayList(u8).init(b.allocator);
defer {
stdout.deinit();
stderr.deinit();
}

try pkgconfig.collectOutput(&stdout, &stderr, output_max_size);

const term = try pkgconfig.wait();

if (stderr.items.len > 0) {
std.log.warn("pkg-config had errors:\n{s}", .{stderr.items});
}

switch (term) {
.Exited => |code| {
if (code == 0) {
if (std.mem.indexOf(u8, stdout.items, "x11")) |_| break :x11 true;
break :x11 false;
}
std.log.warn("pkg-config: {s} with code {d}", .{ @tagName(term), code });
return error.Unexpected;
},
inline else => |code| {
std.log.warn("pkg-config: {s} with code {d}", .{ @tagName(term), code });
return error.Unexpected;
},
}
};

const pie = b.option(
bool,
"pie",
Expand Down Expand Up @@ -622,6 +669,7 @@ pub fn build(b: *std.Build) !void {
b.installFile("images/icons/icon_128.png", "share/icons/hicolor/128x128/apps/com.mitchellh.ghostty.png");
b.installFile("images/icons/icon_256.png", "share/icons/hicolor/256x256/apps/com.mitchellh.ghostty.png");
b.installFile("images/icons/icon_512.png", "share/icons/hicolor/512x512/apps/com.mitchellh.ghostty.png");
b.installFile("images/icons/icon_1024.png", "share/icons/hicolor/1024x1024/apps/com.mitchellh.ghostty.png");
b.installFile("images/icons/icon_16@2x.png", "share/icons/hicolor/16x16@2/apps/com.mitchellh.ghostty.png");
b.installFile("images/icons/icon_32@2x.png", "share/icons/hicolor/32x32@2/apps/com.mitchellh.ghostty.png");
b.installFile("images/icons/icon_128@2x.png", "share/icons/hicolor/128x128@2/apps/com.mitchellh.ghostty.png");
Expand Down Expand Up @@ -1380,6 +1428,7 @@ fn addDeps(
.gtk => {
step.linkSystemLibrary2("gtk4", dynamic_link_opts);
if (config.adwaita) step.linkSystemLibrary2("adwaita-1", dynamic_link_opts);
if (config.x11) step.linkSystemLibrary2("X11", dynamic_link_opts);

{
const gresource = @import("src/apprt/gtk/gresource.zig");
Expand Down
4 changes: 2 additions & 2 deletions build.zig.zon
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@
// Other
.apple_sdk = .{ .path = "./pkg/apple-sdk" },
.iterm2_themes = .{
.url = "https://github.com/mbadolato/iTerm2-Color-Schemes/archive/d6c42066b3045292e0b1154ad84ff22d6863ebf7.tar.gz",
.hash = "12204358b2848ffd993d3425055bff0a5ba9b1b60bead763a6dea0517965d7290a6c",
.url = "https://github.com/mbadolato/iTerm2-Color-Schemes/archive/e030599a6a6e19fcd1ea047c7714021170129d56.tar.gz",
.hash = "1220cc25b537556a42b0948437c791214c229efb78b551c80b1e9b18d70bf0498620",
},
.vaxis = .{
.url = "git+https://github.com/rockorager/libvaxis/?ref=main#6d729a2dc3b934818dffe06d2ba3ce02841ed74b",
Expand Down
5 changes: 5 additions & 0 deletions dist/linux/app.desktop
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ StartupNotify=true
Terminal=false
Actions=new-window;
X-GNOME-UsesNotifications=true
X-TerminalArgExec=-e
X-TerminalArgTitle=--title=
X-TerminalArgAppId=--class=
X-TerminalArgDir=--working-directory=
X-TerminalArgHold=--wait-after-command

[Desktop Action new-window]
Name=New Window
Expand Down
7 changes: 6 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,12 @@
formatter.${system} = pkgs-stable.alejandra;

# Our supported systems are the same supported systems as the Zig binaries.
}) (builtins.attrNames zig.packages));
}) (builtins.attrNames zig.packages))
// {
overlays.default = final: prev: {
ghostty = self.packages.${prev.system}.default;
};
};

nixConfig = {
extra-substituters = ["https://ghostty.cachix.org"];
Expand Down
4 changes: 4 additions & 0 deletions macos/Ghostty-Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@
<key>GHOSTTY_MAC_APP</key>
<string>1</string>
</dict>
<key>MDItemKeywords</key>
<string>Terminal</string>
<key>NSHighResolutionCapable</key>
<true/>
<key>NSServices</key>
Expand Down Expand Up @@ -94,6 +96,8 @@
</array>
</dict>
</array>
<key>SUEnableAutomaticChecks</key>
<false/>
<key>SUPublicEDKey</key>
<string>wsNcGf5hirwtdXMVnYoxRIX/SqZQLMOsYlD3q3imeok=</string>
</dict>
Expand Down
4 changes: 4 additions & 0 deletions macos/Ghostty.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
29C15B1D2CDC3B2900520DD4 /* bat in Resources */ = {isa = PBXBuildFile; fileRef = 29C15B1C2CDC3B2000520DD4 /* bat */; };
55154BE02B33911F001622DC /* ghostty in Resources */ = {isa = PBXBuildFile; fileRef = 55154BDF2B33911F001622DC /* ghostty */; };
552964E62B34A9B400030505 /* vim in Resources */ = {isa = PBXBuildFile; fileRef = 552964E52B34A9B400030505 /* vim */; };
9351BE8E3D22937F003B3499 /* nvim in Resources */ = {isa = PBXBuildFile; fileRef = 9351BE8E2D22937F003B3499 /* nvim */; };
857F63812A5E64F200CA4815 /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = 857F63802A5E64F200CA4815 /* MainMenu.xib */; };
A514C8D62B54A16400493A16 /* Ghostty.Config.swift in Sources */ = {isa = PBXBuildFile; fileRef = A514C8D52B54A16400493A16 /* Ghostty.Config.swift */; };
A514C8D72B54A16400493A16 /* Ghostty.Config.swift in Sources */ = {isa = PBXBuildFile; fileRef = A514C8D52B54A16400493A16 /* Ghostty.Config.swift */; };
Expand Down Expand Up @@ -107,6 +108,7 @@
3B39CAA42B33949B00DABEB8 /* GhosttyReleaseLocal.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = GhosttyReleaseLocal.entitlements; sourceTree = "<group>"; };
55154BDF2B33911F001622DC /* ghostty */ = {isa = PBXFileReference; lastKnownFileType = folder; name = ghostty; path = "../zig-out/share/ghostty"; sourceTree = "<group>"; };
552964E52B34A9B400030505 /* vim */ = {isa = PBXFileReference; lastKnownFileType = folder; name = vim; path = "../zig-out/share/vim"; sourceTree = "<group>"; };
9351BE8E2D22937F003B3499 /* nvim */ = {isa = PBXFileReference; lastKnownFileType = folder; name = vim; path = "../zig-out/share/nvim"; sourceTree = "<group>"; };
857F63802A5E64F200CA4815 /* MainMenu.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = MainMenu.xib; sourceTree = "<group>"; };
A514C8D52B54A16400493A16 /* Ghostty.Config.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Ghostty.Config.swift; sourceTree = "<group>"; };
A51B78462AF4B58B00F3EDB9 /* TerminalWindow.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TerminalWindow.swift; sourceTree = "<group>"; };
Expand Down Expand Up @@ -403,6 +405,7 @@
A5985CE52C33060F00C57AD3 /* man */,
A5A1F8842A489D6800D1E8BC /* terminfo */,
FC5218F92D10FFC7004C93E0 /* zsh */,
9351BE8E2D22937F003B3499 /* nvim */,
);
name = Resources;
sourceTree = "<group>";
Expand Down Expand Up @@ -579,6 +582,7 @@
A5985CE62C33060F00C57AD3 /* man in Resources */,
A5A1F8852A489D6800D1E8BC /* terminfo in Resources */,
552964E62B34A9B400030505 /* vim in Resources */,
9351BE8E3D22937F003B3499 /* nvim in Resources */,
A5CBD05C2CA0C5C70017A1AE /* QuickTerminal.xib in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
Expand Down
Loading