mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-12-28 17:14:39 +00:00
macos: only end search if we previously had one
This commit is contained in:
@@ -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:"
|
||||
|
||||
Reference in New Issue
Block a user