alpha
Login
or
Join now
ptr.pet
/
ghostty
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
This repository has no description
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
ghostty
/
macos
/
Sources
/
Helpers
/
Extensions
/
at
main
27 files
Claude Opus 4.7
fix(macos): mark Swift os.Logger interpolations as public
2mo ago
eb5c1c72
Array+Extension.swift
fix(macos): mark Swift os.Logger interpolations as public
2 months ago
Double+Extension.swift
macos: transparent titlebar handles transparent background
1 year ago
Duration+Extension.swift
wip: undo
1 year ago
EventModifiers+Extension.swift
macos: swiftlint 'opening_brace' rule
5 months ago
FileHandle+Extension.swift
macos: support configuration via CLI arguments This makes it so `zig build run` can take arguments such as `--config-default-files=false` or any other configuration. Previously, it only accepted commands such as `+version`. Incidentally, this also makes it so that the app in general can now take configuration arguments via the CLI if it is launched as a new instance via `open`. For example: open -n Ghostty.app --args --config-default-files=false This previously didn't work. This is kind of cool. To make this work, the libghostty C API was modified so that initialization requires the CLI args, and there is a new C API to try to execute an action if it was set.
1 year ago
KeyboardShortcut+Extension.swift
macOS: fix incorrect delete symbol mapping
4 months ago
NSAppearance+Extension.swift
macos: swiftlint 'control_statement' rule
5 months ago
NSApplication+Extension.swift
macos: swiftlint 'control_statement' rule
5 months ago
NSColor+Extension.swift
Refactor glass effect into TerminalGlassView and add inactive window tint overlay
5 months ago
NSImage+Extension.swift
macos: moving some files around
1 year ago
NSMenu+Extension.swift
macos: clean up setting up the tab menu by using an NSMenu extension
8 months ago
NSMenuItem+Extension.swift
macos: menu item symbols for Tahoe This is recommended for macOS Tahoe and all standard menu items now have associated images. This makes our app look more polished and native for macOS Tahoe. For icon choice, I tried to copy other native macOS apps as much as possible, mostly from Xcode. It looks like a lot of apps aren't updated yet. I'm absolutely open to suggestions for better icons but I think these are a good starting point. One menu change is I moved "reset font size" above "increase font size" which better matches other apps (e.g. Terminal.app).
1 year ago
NSPasteboard+Extension.swift
macos: swiftlint 'trailing_whitespace' rule
5 months ago
NSScreen+Extension.swift
macOS: support injecting temporary defaults when testing
5 months ago
NSView+Extension.swift
macOS: handle surface focus more gracefully This will fix surface focus state is not consistent with first responder state when the search bar is open
4 months ago
NSWindow+Extension.swift
fix(macos): mark Swift os.Logger interpolations as public
2 months ago
NSWorkspace+Extension.swift
macos: swiftlint 'trailing_whitespace' rule
5 months ago
OSColor+Extension.swift
macOS: use `NSDockTilePlugIn` to update app icons
7 months ago
OSPasteboard+Extension.swift
feat: add extension to normalize OSPasteboard string interface
2 months ago
ObjectIdentifier+Extension.swift
macos: AppleScript windows/tabs Add ScriptWindow and ScriptTab classes to expose window/tab hierarchy to AppleScript, along with the corresponding sdef definitions.
5 months ago
Optional+Extension.swift
macos: support env vars for surface config, clean up surface config
1 year ago
String+Extension.swift
macos: add AppleScript `split` command Add a new `split` command to the AppleScript scripting dictionary that splits a terminal in a given direction (right, left, down, up) and returns the newly created terminal. The command is exposed as: split terminal <terminal> direction <direction> Also adds a `fourCharCode` String extension for converting four-character ASCII strings to their FourCharCode (UInt32) representation.
5 months ago
Transferable+Extension.swift
macos: swiftlint 'trailing_whitespace' rule
5 months ago
UUID+Extension.swift
macos: use stable display UUID for quick terminal screen tracking NSScreen instances can be garbage collected at any time, even for screens that remain connected, making NSMapTable with weak keys unreliable for tracking per-screen state. This changes the quick terminal to use CGDisplay UUIDs as stable identifiers, keyed in a strong dictionary. Each entry stores the window frame along with screen dimensions, scale factor, and last-seen timestamp. Rules for pruning: - Entries are invalidated when screens shrink or change scale - Entries persist and update when screens grow (allowing cached state to work with larger resolutions) - Stale entries for disconnected screens expire after 14 days. - Maximum of 10 screen entries to prevent unbounded growth
10 months ago
UndoManager+Extension.swift
macos: make sure we're not registering unnecessary undos
1 year ago
UserDefaults+Extension.swift
macOS: support injecting temporary defaults when testing
5 months ago
View+Extension.swift
macos: moving some files around
1 year ago