macOS: move progressReport to OSSurfaceView

This commit is contained in:
Lukas
2026-04-12 12:04:09 +02:00
parent 8b99c77bf7
commit 19af8e9ce2
3 changed files with 4 additions and 4 deletions

View File

@@ -28,6 +28,9 @@ extension Ghostty {
// The hovered URL string
@Published var hoverUrl: String?
// The progress report (if any)
@Published var progressReport: Action.ProgressReport?
init(id: UUID?, frame: CGRect) {
self.id = id ?? UUID()
super.init(frame: frame)

View File

@@ -20,7 +20,7 @@ extension Ghostty {
}
// The progress report (if any)
@Published var progressReport: Action.ProgressReport? {
override var progressReport: Action.ProgressReport? {
didSet {
// Cancel any existing timer
progressReportTimer?.invalidate()

View File

@@ -8,9 +8,6 @@ extension Ghostty {
// changed with escape codes.
@Published private(set) var title: String = "👻"
// The progress report (if any)
@Published var progressReport: Action.ProgressReport?
// The time this surface last became focused. This is a ContinuousClock.Instant
// on supported platforms.
@Published var focusInstant: ContinuousClock.Instant?