Commit Graph

10 Commits (1b6cda2b1046b80df7fa33bb5f4b9dea8863445a)

Author SHA1 Message Date
Mitchell Hashimoto 6143aa8ce0
macos: "new tab" service should set preferred parent to ensure tab
Fixes #8783

Our new tab flow will never have a previously focused window because its
triggered by a service so we need to use the "preferred parent" logic we
have to open this in the last focused window.
2025-09-19 09:58:27 -07:00
Mitchell Hashimoto 33d128bcff
macos: remove TerminalManager
All logic related to TerminalController is now in TerminalController.
2025-06-07 12:46:15 -07:00
Jon Parise 652f551bec macos: simplify some ServiceProvider code
First, remove the always-inlined openTerminalFromPasteboard code and
combine it with openTerminal. Now that we're doing a bit of work inside
openTerminal, there's little better to having an intermediate, inlined
function.

Second, combine some type-casting operations (saving a .map() call).

Lastly, adjust some variable names because a generic `objs` or `urls`
was a little ambiguous now that we're all in one function scope.
2025-06-02 20:11:18 -04:00
Bryan Lee 800054874e
macOS: switch to using URL instead of String 2025-05-09 10:52:18 +08:00
Bryan Lee 3043012c1b
macOS: simplify path handling in `openTerminal` 2025-05-08 08:34:02 +08:00
Bryan Lee a8b450f03d
macOS: use file parent dir for `openTerminal` service cwd (#7286) 2025-05-08 08:34:02 +08:00
pnodet 7ff9af1520
style(macos): cleanup trailing spaces 2024-08-21 21:53:09 +02:00
Vivek Roy aa75e7dfd8 macos: Implement context menu functionality to open tabs and windows. 2023-12-22 11:20:42 +05:30
Mitchell Hashimoto 704c303cd1
macos: working on the new terminalmanager 2023-10-30 09:06:24 -07:00
Mitchell Hashimoto a040e807e8
macos: implement service provider 2023-10-04 12:11:23 -07:00