mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-09-29 22:48:37 +00:00
macos: listen for config change and post a notification
This commit is contained in:
@@ -206,6 +206,10 @@ extension Ghostty {
|
||||
// MARK: Surface Notification
|
||||
|
||||
extension Notification.Name {
|
||||
/// Configuration change. If the object is nil then it is app-wide. Otherwise its surface-specific.
|
||||
static let ghosttyConfigChange = Notification.Name("com.mitchellh.ghostty.configChange")
|
||||
static let GhosttyConfigChangeKey = ghosttyConfigChange.rawValue
|
||||
|
||||
/// Goto tab. Has tab index in the userinfo.
|
||||
static let ghosttyMoveTab = Notification.Name("com.mitchellh.ghostty.moveTab")
|
||||
static let GhosttyMoveTabKey = ghosttyMoveTab.rawValue
|
||||
|
Reference in New Issue
Block a user