mirror-ghostty/macos/Sources
Mitchell Hashimoto 2fa4fc8902
reload configuration on SIGUSR2
This is done at the apprt-level for a couple reasons.

  (1) For libghostty, we don't have a way to know what the embedding
      application is doing, so its risky to create signal handlers that
      might overwrite the application's signal handlers.

  (2) It's extremely messy to deal with signals and multi-threading.
      Apprts have framework access that handles this for us.

For GTK, we use g_unix_signal_add.

For macOS, we use `DispatchSource.makeSignalSource`. This is an awkward
API but made for this purpose.
2025-07-01 15:51:58 -07:00
..
App reload configuration on SIGUSR2 2025-07-01 15:51:58 -07:00
Features make hiddenStyleMask static 2025-06-30 11:21:55 -07:00
Ghostty macOS: Run scripts using stdin rather than executing directly 2025-06-22 21:06:32 -04:00
Helpers macos: the approval dialog is now forever 2025-06-21 06:53:09 -07:00