mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-09-29 22:48:37 +00:00
macOS: new split can inherit font size
This commit is contained in:
@@ -64,6 +64,9 @@ extension Ghostty {
|
||||
}
|
||||
|
||||
extension Ghostty.Notification {
|
||||
/// Used to pass a configuration along when creating a new tab/window/split.
|
||||
static let NewSurfaceConfigKey = "com.mitchellh.ghostty.newSurfaceConfig"
|
||||
|
||||
/// Posted when a new split is requested. The sending object will be the surface that had focus. The
|
||||
/// userdata has one key "direction" with the direction to split to.
|
||||
static let ghosttyNewSplit = Notification.Name("com.mitchellh.ghostty.newSplit")
|
||||
@@ -81,11 +84,9 @@ extension Ghostty.Notification {
|
||||
|
||||
/// New tab. Has base surface config requested in userinfo.
|
||||
static let ghosttyNewTab = Notification.Name("com.mitchellh.ghostty.newTab")
|
||||
static let NewTabKey = ghosttyNewTab.rawValue
|
||||
|
||||
/// New window. Has base surface config requested in userinfo.
|
||||
static let ghosttyNewWindow = Notification.Name("com.mitchellh.ghostty.newWindow")
|
||||
static let NewWindowKey = ghosttyNewWindow.rawValue
|
||||
|
||||
/// Toggle fullscreen of current window
|
||||
static let ghosttyToggleFullscreen = Notification.Name("com.mitchellh.ghostty.toggleFullscreen")
|
||||
|
Reference in New Issue
Block a user