Mitchell Hashimoto
0fbb5c8c70
macos: simpler mechanism to detect no more config errors
...
Fixes #702
2023-10-30 22:25:39 -07:00
Mitchell Hashimoto
09ad0f6b7b
macos: attach various menu items to first responder, terminal
...
Fixes #758
2023-10-30 22:06:55 -07:00
Mitchell Hashimoto
481d128405
macos: tab labels, detect window close
2023-10-30 09:50:52 -07:00
Mitchell Hashimoto
bee0f25d54
macos: new terminal view new tab/window
2023-10-30 09:06:24 -07:00
Mitchell Hashimoto
704c303cd1
macos: working on the new terminalmanager
2023-10-30 09:06:24 -07:00
Mitchell Hashimoto
3018377389
macos: wip
2023-10-30 09:06:24 -07:00
Mitchell Hashimoto
29bbcbbf92
core: add input binding to control terminal inspector
2023-10-24 15:27:14 -07:00
Jon Parise
17b63f7617
config: add quit-after-last-window-closed
...
Whether or not to quit after the last window is closed. This defaults
to false. Currently only supported on macOS.
2023-10-18 14:03:32 -07:00
Gregory Anders
f966a5a163
macos: add menu items to modify font size
...
Add a new "View" menu to the menu bar with items to increase, decrease,
or reset the font size.
2023-10-16 20:32:33 -05:00
Mitchell Hashimoto
a040e807e8
macos: implement service provider
2023-10-04 12:11:23 -07:00
Mitchell Hashimoto
dc882edd31
macos: validation of dropped directory
2023-10-03 22:18:39 -07:00
Mitchell Hashimoto
96b8fbb84d
macos: support dropping folder with window
2023-10-03 22:07:58 -07:00
Mitchell Hashimoto
6249621d71
macos: support drag and drop with no windows
2023-10-03 22:03:04 -07:00
Mitchell Hashimoto
00cb572a5b
macos: change close confirmations to NSAlert
...
Fixes #560
2023-10-03 09:53:15 -07:00
Mitchell Hashimoto
16f5af8b32
macos: relable tabs when config is reloaded
2023-09-28 08:36:02 -07:00
Mitchell Hashimoto
57213547cd
macos: custom fullscreen menu item to respect non-native fullscreen
...
Related to #392
2023-09-27 18:34:04 -07:00
Mitchell Hashimoto
3ad39dd5e4
macos: sync NSAppearance for app based on window-theme setting
2023-09-20 21:54:50 -07:00
Mitchell Hashimoto
cdbf16e13b
macos: set env var for app bundle to detect app launch vs CLI
2023-09-20 11:10:46 -07:00
Mitchell Hashimoto
999d17c49d
macos: integrate needsConfirmQuit to quit if all windows are at prompt
2023-09-11 15:44:28 -07:00
Mitchell Hashimoto
ffd181f10d
macos: don't steal focus for config errors
2023-09-11 13:59:03 -07:00
Mitchell Hashimoto
711e3a5043
macos: add reload configuration to the Ghostty menu bar
2023-09-11 13:49:20 -07:00
Mitchell Hashimoto
db799d53e6
macos: UI for configuration errors
2023-09-11 13:21:13 -07:00
Mitchell Hashimoto
ef5c5d1c0b
macos: add split zoom to menu
2023-09-10 09:30:42 -07:00
Mitchell Hashimoto
8619351df7
macos: dock menu
2023-09-08 11:37:56 -07:00
Mitchell Hashimoto
1d8ee005c6
macos: handle reopen event and open a window if none are visible
...
Fixes #410
2023-09-07 14:47:50 -07:00
Mitchell Hashimoto
b7508cdc66
macos: setup delegate for app state, config reload callback
2023-08-31 11:56:15 -07:00
Mitchell Hashimoto
10aaf8bd35
macos: sync all remaining menu items
2023-08-31 11:44:43 -07:00
Mitchell Hashimoto
76053460d5
macos: sync File menu
2023-08-31 11:40:21 -07:00
Mitchell Hashimoto
22b925223a
macos: sync many more menu items
2023-08-31 11:33:58 -07:00
Mitchell Hashimoto
52396304ff
macos: begin syncing menuitem key equivalents
2023-08-30 22:45:29 -07: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
Thorsten Ball
3e7c4475a1
macOS: move newTab code to PrimaryWindowManager
2023-08-17 20:57:00 +02: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
Mitchell Hashimoto
5f5a23acc4
macos: help menu goes to the github repo
2023-08-05 15:03:17 -07:00
Mitchell Hashimoto
2752995ec5
macos: Cmd-Q without any window focus works
...
Previously, this would crash. Once the crash was fixed, it would hang
because we would only show confirmation if the terminal window had
focus.
This introduces some medium complexity logic to work around this:
1. If we are the key window, then show the confirmation dialog. Done.
2. Otherwise, if any other window is a terminal window and is key,
they're going to take it so we do nothing.
3. Otherwise, if we are the first terminal window in the application
windows list, we show it even if we're not focused.
2023-08-05 10:43:56 -07:00
Mitchell Hashimoto
7c98f991db
macos: new tab menu/shortcut works even if no windows are present
2023-08-04 17:45:57 -07:00
Mitchell Hashimoto
9105637697
macos: reorganize, rename, put files in groups
2023-08-04 17:17:18 -07:00