mirror of
https://github.com/binaricat/Netcatty.git
synced 2026-11-22 08:03:40 +00:00
* fix(terminal): suppress autocomplete popup on alternate screen (#2530) Codex CLI's TUI (and other full-screen apps like vim/htop/less) render their own input UI on the alternate screen buffer. Netcatty's autocomplete only gated on its shell-prompt heuristic, which codex's composer line matches — so typing "/" inside codex popped up Netcatty's path/command list on top of codex's slash-command menu. Bail out of fetchSuggestions (the single query path for both popup and ghost text) when term.buffer.active is the alternate buffer. Reuses the existing isTerminalAlternateScreenActive helper already used by hibernate. Co-Authored-By: Claude <noreply@anthropic.com> * fix(terminal): keep simple alt-screen autocomplete ban (#2530) Drop the bloated TUI-vs-multiplexer heuristics from the codex auto-fix loop. Disable autocomplete unconditionally on the alternate screen buffer — same simple tradeoff as other hosts; tmux/screen attach has no Netcatty completions. * fix(terminal): drop alt-screen completions after async lookup too Same unconditional policy as the entry gate: if the buffer switched to alternate while getCompletions was in flight, discard results so popup/ghost cannot paint over a TUI. #2530 --------- Co-authored-by: Claude <noreply@anthropic.com>