Jon Parise
1537590a5f
macos: cycle through our icons in the About view
...
Clicking on the icon immediately advances to the next one. Hovering on
the icon pauses the automatic cycling, and the "help" tooltip displays
the icon's configuration name (for `macos-icon`).
2026-01-12 15:20:14 -05:00
Mitchell Hashimoto
5a7fdf735e
macos: custom tab title shows bell if active
...
Fixes #10210
2026-01-07 13:32:58 -08:00
Mitchell Hashimoto
323d362bc1
macos: dragging last window out of quick terminal works
2026-01-07 09:33:37 -08:00
Lukas
a265462aa6
macOS: moving a focused split to another tab should also update the previous tab
2026-01-07 09:18:41 -08:00
Lukas
02fc0f502f
macOS: rename function to avoid mutating misunderstanding
2026-01-07 09:18:17 -08:00
Mitchell Hashimoto
7d0157e69a
macOS: add Cmd+J "Jump to Selection" menu item and default binding
...
This matches other built-in macOS apps like Terminal, Notes, Safari. We
already had the binding, just needed to create the menu.
https://ampcode.com/threads/T-019b956a-f4e6-71b4-87fa-4162258d33ff
2026-01-06 14:30:11 -08:00
Aaron Ruan
9b6a3be993
macOS: Selection for Find feature
...
Adds the `selection_for_search` action, with Cmd+E keybind by default.
This action inputs the currently selected text into the search
field without changing focus, matching standard macOS behavior.
2026-01-06 22:21:55 +08:00
Mitchell Hashimoto
d4ba0fa27e
macos: last surface should close tab immediately not window
2025-12-30 15:07:28 -08:00
Mitchell Hashimoto
3e399a3d35
macos: detect surface tab bar hovers and focus them
2025-12-30 15:07:27 -08:00
John Xu
53c510ac40
macos: keep glass titlebar inset in sync on layout
2025-12-30 16:32:12 +08:00
Mitchell Hashimoto
a826892ef7
macos: make undo/redo work for final split dragged out
...
Fixes #10093
2025-12-29 11:15:19 -08:00
Mitchell Hashimoto
7512f6158b
macos: fix bugs
2025-12-29 10:47:00 -08:00
Mitchell Hashimoto
19f7b57cd1
macos: fixup focus issues when closing the new window
2025-12-29 10:36:24 -08:00
Mitchell Hashimoto
29edbbbc86
macos: open dragged windows where they are dropped
2025-12-29 10:21:21 -08:00
Mitchell Hashimoto
5ecd26727e
macos: allow pulling split out into its own window
2025-12-29 10:11:59 -08:00
Mitchell Hashimoto
89c515cab5
macos: new window from tree in TerminalController
2025-12-29 10:03:36 -08:00
Mitchell Hashimoto
e56dce3d84
macos: don't create drop zone at all if self dragging
2025-12-29 06:55:01 -08:00
Mitchell Hashimoto
be97b5bede
macOS: convert Surface dragging to use NSDraggingSource
2025-12-29 06:55:01 -08:00
Mitchell Hashimoto
9b7124cf62
macos: use preference key to detect self dragging
2025-12-29 06:55:01 -08:00
Mitchell Hashimoto
5245757875
macos: all sorts of cleanups
2025-12-29 06:55:01 -08:00
Mitchell Hashimoto
9724541a33
macos: unify split callbacks into a single tagged enum
2025-12-29 06:55:00 -08:00
Mitchell Hashimoto
60bc5a9ae7
macos: clean up some SwiftUI nesting
2025-12-29 06:55:00 -08:00
Mitchell Hashimoto
5916755388
macos: drop splits across windows
2025-12-29 06:55:00 -08:00
Mitchell Hashimoto
8f8b5846c6
macos: hook up onDrop to move splits
2025-12-29 06:55:00 -08:00
Mitchell Hashimoto
5d8c9357c0
macos: move around some functions
2025-12-29 06:55:00 -08:00
Mitchell Hashimoto
0a80f77766
macos: wire up onDrop
2025-12-29 06:55:00 -08:00
Mitchell Hashimoto
43d87cf9f8
macos: setup drop UI on our split views
2025-12-29 06:55:00 -08:00
Mitchell Hashimoto
304e2612ab
macOS: work on drop destination
2025-12-29 06:55:00 -08:00
Mitchell Hashimoto
551031e41f
macOS: move NSGlassEffectView into TerminalViewContainer ( #10062 )
...
- Fixes #9991
> Modifying the subview of NSThemeFrame seems "dangerous" and
unpredictable.
- Provides correct `intrinsicContentSize` as previous
`NSHostingView<TerminalView>` did
> Fixes regression caused by #10046
> [!NOTE]
> AI Proofread some of my comments
2025-12-29 06:52:18 -08:00
Daniel Wennberg
b7a12effce
Only use macOS 26.0 workarounds on macOS 26.0
2025-12-28 09:47:22 -08:00
Mitchell Hashimoto
14f592b8d4
macOS: Don't duplicate command palette entries for terminal commands
...
This is a regression introduced when we added macOS support for custom
entries. I mistakingly thought that only custom entries were in the
config, but we do initialize it with all!
2025-12-26 11:03:50 -08:00
Lukas
6ab884d69f
macOS: fix intrinsicContentSize of TerminalViewContainer
2025-12-26 13:35:25 +01:00
Lukas
1c90af3569
macOS: move NSGlassEffectView into TerminalViewContainer
2025-12-26 11:44:30 +01:00
Mitchell Hashimoto
2415116ad0
Revert "macOS: move NSGlassEffectView into TerminalViewContainer ( #10046 )"
...
This reverts commit b8490f40c5 , reversing
changes made to 050278feae .
2025-12-25 13:52:59 -08:00
Mitchell Hashimoto
b8490f40c5
macOS: move NSGlassEffectView into TerminalViewContainer ( #10046 )
...
Fixes #9991 , modifying the subview of `NSThemeFrame` seems "dangerous"
and unpredictable.
> [!NOTE]
> AI Proofread some of my comments
https://github.com/user-attachments/assets/c443cf71-8a00-4c37-b008-d89b7f1564a3
2025-12-25 12:51:47 -08:00
rezky_nightky
bf73f75304
chore: fixed some typo
...
Author: rezky_nightky <with dot rezky at gmail dot com>
Repository: ghostty
Branch: main
Signing: GPG (4B65AAC2)
HashAlgo: BLAKE3
[ Block Metadata ]
BlockHash: c37f4ee817412728a8058ba6087f5ca6aaff5a845560447d595d8055972d0eac
PrevHash: 3510917a780936278debe21786b7bae3a2162cb3857957314c3b8702e921b3d4
PatchHash: 5e5bb4ab35df304ea13c3d297c6d9a965156052c82bccf852b1f00b7bcaa7dd4
FilesChanged: 18
Lines: +92 / -92
Timestamp: 2025-12-25T17:27:08Z
Signature1: c1970dbb94600d1e24dfe8efcc00f001664db7b777902df9632a689b1d9d1498
Signature2: 30babb1e3ca07264931e067bfe36c676fb7988c2e06f8c54e0c9538fe7c7fc9a
2025-12-26 00:27:08 +07:00
Mitchell Hashimoto
12523ca61c
macOS: command-palette-entry is now visible in macOS
2025-12-24 14:33:21 -08:00
Lukas
574ee470bd
macOS: move NSGlassEffectView into TerminalViewContainer
2025-12-24 23:10:31 +01:00
Lukas
7ce88b6811
macOS: fix initial surface color scheme in quickTerminal
2025-12-24 21:46:42 +01:00
Suyeol Jeon
b4a5ddfef9
macos: apply window position after setting content size
...
When window-width/height is configured, the window size is set via
setContentSize in windowDidLoad. However, window-position-x/y was not
being applied after this resize, causing the window to appear at an
incorrect position.
This was a regression introduced in c75bade89 which refactored the
default size logic from a computed NSRect property to a DefaultSize
enum. The original code called adjustForWindowPosition after calculating
the frame, but this was lost during the refactoring.
Fixes the issue by calling adjustForWindowPosition after applying
contentIntrinsicSize to ensure window position is correctly set.
2025-12-22 15:09:00 +09:00
Mitchell Hashimoto
0ace736f46
macos: remove the command palette appear/disappear animation
...
Lots of people complained about this and I don't see value in it.
2025-12-18 15:36:11 -08:00
Mitchell Hashimoto
e1d0b22029
macos: allow searching sessions by color too
2025-12-17 10:52:03 -08:00
Mitchell Hashimoto
829dd1b9b2
macos: focus shenangians
2025-12-17 10:13:53 -08:00
Mitchell Hashimoto
e1356538ac
macos: show a highlight animation when a terminal is presented
2025-12-17 10:12:44 -08:00
Mitchell Hashimoto
d23f7e051f
macos: stable sort for surfaces
2025-12-17 09:52:06 -08:00
Mitchell Hashimoto
1fd3f27e26
macos: show pwd for jump options
2025-12-17 09:47:16 -08:00
Mitchell Hashimoto
b30e94c0ec
macos: sort in the focus jumps in other commands
2025-12-17 09:34:30 -08:00
Mitchell Hashimoto
835fe3dd0f
macos: add the active terminals to our command palette to jump
2025-12-17 09:30:39 -08:00
Mitchell Hashimoto
e1e782c617
macos: clean up the way command options are built up
2025-12-17 09:10:46 -08:00
Mitchell Hashimoto
5d11bdddc3
macos: implement the present terminal action so we can use that
2025-12-17 09:04:51 -08:00