mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-09-19 20:18:07 +00:00
#13707 Search selection bindings update synchronously while SwiftUI is processing text edits. Publishing those changes re-entered view updates and could apply a stale String.Index range after deleting the needle. Keep selection state out of ObservableObject publishing. Needle changes still schedule view updates, while selection-only select-all operations explicitly notify observers. This is a bit of hail mary attempt at fixing #13707 because I couldn't actively reproduce it. But this keeps search working fine and conceptually addresses it.