Commit Graph

8 Commits (d4249679e3b4b4894c119d2ca5e7b2cff9a92665)

Author SHA1 Message Date
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