cmux/Sources/Panels
Lawrence Chen 5fc4df467a
Fix omnibar Cmd+L infinite focus loop causing 100% CPU (#97)
The browser omnibar's updateNSView and controlTextDidEndEditing
were both dispatching makeFirstResponder calls without any guard
against re-dispatch. Each makeFirstResponder triggers SwiftUI's
FirstResponderObserver, which re-evaluates the view graph, which
calls updateNSView again, creating an infinite loop via the main
dispatch queue.

Fix: Add a pendingFocusRequest flag on the coordinator to prevent
re-dispatching while a focus/blur request is already in flight.
Also add nsView.currentEditor() != nil to the isFirstResponder
check so the field is recognized as focused during the transition
when the field editor (not the field itself) is first responder.
2026-02-18 23:18:08 -08:00
..
BrowserPanel.swift Fix browser opening new tabs on link click (#92) 2026-02-18 21:53:36 -08:00
BrowserPanelView.swift Fix omnibar Cmd+L infinite focus loop causing 100% CPU (#97) 2026-02-18 23:18:08 -08:00
CmuxWebView.swift Release v1.36.0 (#47) 2026-02-17 04:04:29 -08:00
Panel.swift Fix frozen terminals after split churn (#12) 2026-02-13 16:45:31 -08:00
PanelContentView.swift Speed up workspace switching: reduce portal churn and enforce selected z-order 2026-02-18 22:13:40 -08:00
TerminalPanel.swift Fix frozen terminals after split churn (#12) 2026-02-13 16:45:31 -08:00
TerminalPanelView.swift Speed up workspace switching: reduce portal churn and enforce selected z-order 2026-02-18 22:13:40 -08:00