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
windows: extend suppress_child_console sweep to per-turn / refresh hot paths
The previous sweep (ad139a9) covered bash/ambient/selfdev/agent. Sites
that fire on every model turn or every side-panel refresh were still
flashing console windows on Windows. Apply the same helper to:
- src/prompt.rs (3x git probes per system-prompt build):
rev-parse --is-inside-work-tree, branch --show-current, status --porcelain.
Runs every turn, so this was the dominant flicker source.
- src/build/source_state.rs (git_output_bytes helper covers 1 site;
current_git_hash, current_git_hash_full, current_git_diff,
is_working_tree_dirty, get_commit_message — 5 more sites):
side-panel git state refresh, periodic / on file watch.
- src/build.rs::dirty_status_paths (build freshness git probe).
- src/auth/copilot.rs (gh auth token probe).
- src/auth/cursor.rs::read_vscdb_key (sqlite3 probe).
- src/cli/commands.rs::detect_tailscale_dns_name (tailscale probe).
All call sites already had stdio either piped or one-shot Output, so
suppressing the console allocation is purely cosmetic on the Windows
detached-server path.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments