macos: only end search if we previously had one
parent
48acc90983
commit
1bb2d4f1c2
|
|
@ -75,7 +75,7 @@ extension Ghostty {
|
|||
let action = "search:\(needle)"
|
||||
ghostty_surface_binding_action(surface, action, UInt(action.count))
|
||||
}
|
||||
} else {
|
||||
} else if oldValue != nil {
|
||||
searchNeedleCancellable = nil
|
||||
guard let surface = self.surface else { return }
|
||||
let action = "search:"
|
||||
|
|
|
|||
Loading…
Reference in New Issue