Mitchell Hashimoto
376345dcae
macos: detect renderer health failures and show error view
2024-01-16 11:27:18 -08:00
Mitchell Hashimoto
875a774d4b
macos: remove AppState and unify onto Ghostty.App cross-platform
2024-01-14 19:35:57 -08:00
Mitchell Hashimoto
4d9fd2becc
macos: iOS app can initialize Ghostty
2024-01-14 14:44:16 -08:00
Gregory Anders
86b7442f3c
macos: implement desktop notifications
2023-11-15 11:21:30 -06:00
Gregory Anders
98b43007a0
core: use ClipboardRequestType instead of ClipboardPromptReason
...
Instead of making a separate enum that must be translated from the
ClipboardRequest type, simply re-use ClipboardRequest to determine the
clipboard confirmation reason.
2023-11-10 23:12:39 -05:00
Gregory Anders
86245ff0cf
macos: add option to prompt user for confirmation on OSC 52 commands
2023-11-10 23:12:39 -05:00
Gregory Anders
cd01340cce
macos: add key binding for equalizing split sizes
2023-11-07 16:23:28 -06:00
Gregory Anders
9b14398153
macos: support resizing splits
2023-11-05 20:42:59 -06:00
Mitchell Hashimoto
ef44551522
apprt/embedded: hook up paste confirmation
2023-11-05 09:20:16 -08:00
Mitchell Hashimoto
29bbcbbf92
core: add input binding to control terminal inspector
2023-10-24 15:27:14 -07:00
Mitchell Hashimoto
52ccef3b8e
macos: only re-render the inspector when requested
2023-10-24 15:27:14 -07:00
Mitchell Hashimoto
cc8e1cd936
macos: support initial window size
2023-09-30 20:47:31 -07:00
Mitchell Hashimoto
4570356e57
turn zoom into a toggle rather than an explicit zoom/unzoom
2023-09-02 16:03:51 -07:00
Mitchell Hashimoto
70bdc21d22
macos: support zoomed splits
2023-09-02 15:51:10 -07:00
Mitchell Hashimoto
1626c8cd3a
macos: hacks for split focus to work correctly on macos 12
2023-09-02 09:15:50 -07:00
Thorsten Ball
a76aea4d0a
macOS: new split can inherit font size
2023-08-19 09:59:04 +02:00
Thorsten Ball
2e9b787668
macOS: new window can inherit font size
...
This is the second part of #281 and adds the same mechanism that was
added for tabs in #296 for windows.
It works exactly the same way.
2023-08-19 09:29:56 +02:00
Mitchell Hashimoto
79971c62a6
macos: pass around a base surface_config_s rather than a new tab
2023-08-18 09:09:43 -07:00
Thorsten Ball
d2dae7a696
macOS: inherit font size when creating new tab
...
This is one part of #281 .
2023-08-17 20:56:56 +02:00
Thorsten Ball
b56ffa6285
Add config setting to turn non-native fullscreen on or off
2023-08-04 14:12:33 -07:00
Thorsten Ball
8e464db049
Toggle fullscreen on super/ctrl+return, only macOS for now
...
This fixes or at least is the first step towards #171 :
- it adds `cmd/super + return` as the default keybinding to toggle
fullscreen for currently focused window.
- it adds a keybinding handler to the embedded apprt and then changes
the macOS app to handle the keybinding by toggling currently focused
window.
2023-07-02 20:23:49 +02:00
Thorsten Ball
6ff3f62e3a
macOS: implement cmd+[0-9] to goto tab
...
This is my attempt at fixing #63 . It works! But:
1. The `NotificationCenter` subscription is triggered once for every
open tab. That's obviously wrong. But I'm not sure and could use some
pointers where else to put the subscription. That leads me to...
2. I'm _not_ knowledgable in Swift/AppKit/SwiftUI, so I might have put
the wrong/right things in the wrong/right places. For example: wasn't
sure what's to be handled in Swift and what's to be handled by the
core in Zig.
Would love some pointers :)
2023-07-01 09:08:02 -07:00
Mitchell Hashimoto
f092cce69e
macos: translate ASCII keys
2023-03-25 15:26:04 -07:00
Mitchell Hashimoto
3976da8149
macos: navigate splits directionally
2023-03-11 17:55:31 -08:00
Mitchell Hashimoto
04c38ef3b0
macos: change focus callback to use an enum so we can get other dirs
2023-03-11 17:44:00 -08:00
Mitchell Hashimoto
b582691185
macos: hook up all the bindings so we're ready to handle focus event
2023-03-11 16:22:04 -08:00
Mitchell Hashimoto
fa9ee0815f
apprt/embedded: newSplit callback
2023-03-08 14:56:50 -08:00
Mitchell Hashimoto
1a3cd852f9
macos: massive reorg
2023-03-06 21:28:09 -08:00