Mitchell Hashimoto
4f5460475c
Merge pull request #296 from mitchellh/mrn/macos-inherit-font-size
...
macOS: inherit font size when creating new tab
2023-08-18 09:22:06 -07: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
12311e9707
macOS: simplify code for new tab
2023-08-18 06:26:15 +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
Thorsten Ball
0597b03fa2
macOS: remove dead code from PrimaryWindowController
...
I think this is a left-over from the refactor that moved this field to
the `PrimaryWindowManager`.
2023-08-17 07:04:46 +02:00
Kevin Hovsäter
22b8173164
Fix typos
2023-08-08 14:27:34 +02: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
8c01160afa
macos: "+" button ensures tab is added to same window group
2023-08-04 17:39:40 -07:00
Mitchell Hashimoto
bb7c67b967
macos: implement newWindowForTab for "+" button
2023-08-04 17:35:57 -07:00
Mitchell Hashimoto
994d456223
set the title of the window
2023-08-04 17:24:28 -07:00
Mitchell Hashimoto
9105637697
macos: reorganize, rename, put files in groups
2023-08-04 17:17:18 -07:00
Mitchell Hashimoto
bf190ba442
macos: merge AppController and AppDelegate, organize groups
2023-08-04 17:05:52 -07:00