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
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
0a80f77766
macos: wire up onDrop
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
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
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
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
835fe3dd0f
macos: add the active terminals to our command palette to jump
2025-12-17 09:30:39 -08:00
Mitchell Hashimoto
5d11bdddc3
macos: implement the present terminal action so we can use that
2025-12-17 09:04:51 -08:00
Mitchell Hashimoto
95f4093e96
macos: make syncAppearance a virtual method on BaseTerminalController
2025-12-16 12:59:56 -08:00
himura467
8d49c698e4
refactor(macos): do nothing if in fullscreen
2025-12-16 11:32:10 -08:00
himura467
ded3dd4cbc
refactor(macos): do nothing if background-opacity >= 1
2025-12-16 11:32:10 -08:00
himura467
4c6d3f8ed2
macos: add toggle_background_opacity keybind action
2025-12-16 11:32:10 -08:00
lorenries
d364e421a8
introduce split-preserve-zoom config to maintain zoomed splits during navigation
2025-12-16 11:14:09 -08:00
Lukas
d680404fae
macOS: save&restore quick terminal state
2025-12-16 08:51:58 -08:00
Mitchell Hashimoto
8482e0777d
macos: remove glass view on syncAppearance with blur
2025-12-15 10:58:35 -08:00
Mitchell Hashimoto
a6ddf03a2e
remove the macos-background-style config
2025-12-15 10:54:35 -08:00
Justy Null
42493de098
fix: make titlebar transparent when using glass background style
2025-12-15 10:12:36 -08:00
Mitchell Hashimoto
d5c378cd6b
minor style tweaks
2025-12-15 10:12:36 -08:00
Justy Null
45aceace72
fix: disable renderer background when macOS effects are enabled
2025-12-15 10:12:11 -08:00
Justy Null
d40af61960
refactor: migrate background glass effect to new macos-background-style config
2025-12-15 10:10:51 -08:00
Justy Null
a02364cbef
feat: add liquid glass background effect support
2025-12-15 10:10:51 -08:00
Mitchell Hashimoto
ddaf307cf7
macos: more strict detection for tab context menu
...
We were accidentally modifying the "View" menu.
2025-12-12 14:05:46 -08:00
Mitchell Hashimoto
50bbced0c9
macos: add title override to restorable state
2025-12-11 16:40:09 -08:00
Mitchell Hashimoto
65c5e72d3e
macos: add tab title change to tab context menu
2025-12-11 16:24:50 -08:00
Mitchell Hashimoto
7b48eb5c62
macos: add change tab title to menu
2025-12-11 16:16:12 -08:00
Mitchell Hashimoto
e93a4a911f
macos: implement prompt_tab_title
2025-12-11 16:03:30 -08:00
Mitchell Hashimoto
4d757f0f28
macos: show tab color as header for menu item so its not grey
2025-12-11 14:43:26 -08:00
Mitchell Hashimoto
89bdee447f
macos: selected color in tab color menu should use target's color
2025-12-11 14:33:50 -08:00
Mitchell Hashimoto
2331e17835
macos: change tab color label to circle
2025-12-11 14:18:57 -08:00
Mitchell Hashimoto
6332fb5c01
macos: some cleanup
2025-12-11 13:59:06 -08:00
Mitchell Hashimoto
f71a25a621
macos: make the tab color indicator SwiftUI
2025-12-11 13:57:39 -08:00
Mitchell Hashimoto
c83bf1de75
macos: simplify terminal controller a bunch
2025-12-11 13:50:24 -08:00
Mitchell Hashimoto
1073e89a0d
macos: move context menu stuff in terminal window down to an ext
2025-12-11 13:40:01 -08:00
Mitchell Hashimoto
f559bccc38
macos: clean up setting up the tab menu by using an NSMenu extension
2025-12-11 13:36:49 -08:00
Mitchell Hashimoto
a0089702f1
macos: convert tab color view to SwiftUI
2025-12-11 13:27:51 -08:00
Mitchell Hashimoto
04913905a3
macos: tab color is codable for restoration
2025-12-11 07:24:46 -08:00
Mitchell Hashimoto
51589a4e02
macos: move TerminalTabColor to its own file
2025-12-11 07:23:51 -08:00
George Papadakis
1a65c1aae2
feat(macos): add tab color picker to tab context menu
2025-12-11 07:16:26 -08:00
Mitchell Hashimoto
eb75d48e6b
macos: add xmark to other tab close items
2025-12-10 20:56:07 -08:00