native macOS codings agent orchestrator prowl.onev.cat
Something went wrong. Try again.
Swift
123456789101112131415161718192021import GhosttyKitimport SwiftUI
struct GhosttySurfaceProgressOverlay: View { @Bindable var state: GhosttySurfaceState
init(state: GhosttySurfaceState) { self._state = Bindable(state) }
var body: some View { if let progressState = state.progressState, progressState != GHOSTTY_PROGRESS_STATE_REMOVE { GhosttySurfaceProgressBar( progressState: progressState, progressValue: state.progressValue ) .transition(.opacity) } }}