mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-08-02 14:57:31 +03:00
macos: add iOS field necessary
This commit is contained in:
@ -28,6 +28,13 @@ extension Ghostty {
|
|||||||
// The hovered URL
|
// The hovered URL
|
||||||
@Published var hoverUrl: String? = nil
|
@Published var hoverUrl: String? = nil
|
||||||
|
|
||||||
|
// Returns sizing information for the surface. This is the raw C
|
||||||
|
// structure because I'm lazy.
|
||||||
|
var surfaceSize: ghostty_surface_size_s? {
|
||||||
|
guard let surface = self.surface else { return nil }
|
||||||
|
return ghostty_surface_size(surface)
|
||||||
|
}
|
||||||
|
|
||||||
private(set) var surface: ghostty_surface_t?
|
private(set) var surface: ghostty_surface_t?
|
||||||
|
|
||||||
init(_ app: ghostty_app_t, baseConfig: SurfaceConfiguration? = nil, uuid: UUID? = nil) {
|
init(_ app: ghostty_app_t, baseConfig: SurfaceConfiguration? = nil, uuid: UUID? = nil) {
|
||||||
|
Reference in New Issue
Block a user