You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: address Copilot feedback on terminal focus behavior
- Add optional focus parameter to both snacks and native provider open() methods
- Extract shared logic into ensure_terminal_visible_no_focus() helper function
- Fix ensure_visible() to truly not focus by passing focus=false to providers
- Fix toggle_open_no_focus() to use the same consistent no-focus behavior
- Maintain backward compatibility by defaulting focus parameter to true
- Return to original window in native provider when focus=false
Addresses feedback about ensure_visible() contradicting its intent by calling
provider.open() which always focused the terminal.
Change-Id: I11635699095df7284232b7c959ade1e11c41dbc4
Signed-off-by: Thomas Kosiewski <tk@coder.com>
0 commit comments