Repository navigation
fix(agents): keep Grok and Antigravity conversations in the terminal scrollback - #698
Merged
Merged
Conversation
…scrollback Both CLIs drew their TUI on the alternate screen, so the tmux scrollback, the live log tail, the quota sweep and the stored log replay saw one frame and nothing to scroll back to. Grok now runs with --minimal (--no-alt-screen alone still repaints a single frame) and Antigravity with altScreenMode "never"; both were driven through three chat turns against a mock model and every earlier turn reached the tmux history. Kiro and Gemini are inline already; their switches (chat.startFullscreen, ui.useAlternateBuffer) are pinned off so a flipped default cannot repeat what Codex 0.157 did. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Artem Petrov <[email protected]>
NOX73
added a commit
that referenced
this pull request
Nov 11, 2026
…s-0-1-0 * origin/develop: feat(coder): clone GitLab, Bitbucket and Azure DevOps repos in coder_prepare_repo (#703) fix(agents): show each runtime's own logo everywhere (#704) feat(teams): assign cards to a team and run triggers as a team (#701) feat(agents): collect the Copilot CLI transcript as a session log (#700) fix(agents): keep Grok and Antigravity conversations in the terminal scrollback (#698) feat(billing): redesign the Billing tab around active and previous subscriptions (#646) feat(web): switch the UI, admin, public pages and emails to Inter (#699) chore(deps): weekly dependency batch — aws-sdk-core 3.267 retry fix, prism 2, Mantine 9.7.5, runner Go 1.27.4 (#697) fix(board): leave archived tasks out of agent board listings (#690) feat(agents): add GitHub Copilot CLI as an agent runtime (#684) feat(runners): the callback proxy — the proxy sidecar, the host runner relay and the gateway proxy route (task #216, 8b) (#677) Signed-off-by: Rozhnov Alexandr <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
A session's history is only scrollable if the CLI prints into the normal screen.
On the alternate screen tmux keeps no scrollback, so the live terminal, the
live log tail (
capture-pane -S), the quota sweep and the stored-log replay(
SessionTerminalReplay, xterm.js) all see a single frame. Claude Code (#465)and Codex (#444) were fixed earlier; this checks every runtime at its pinned
version.
Measured (TUI in a 100×15 tmux pane,
#{alternate_on}/#{history_size}/ESC[?1049hin the pane stream)CLAUDE_CODE_DISABLE_ALTERNATE_SCREEN=1); control run without it: alt screentui.fullscreen_transcript=false); control run without it: alt screenui.useAlternateBuffer: falsepinned (default false in 0.60 and 0.66)chat.startFullscreen: falsepinned (the CLI reads it:kiro-cli settings chat.startFullscreen→false (global))--minimal: three turns, banner and earlier turns in tmux history, noESC[?1049h.--no-alt-screenalone left history empty (it repaints one frame). A prompt given as an argument still starts the turn in the TUI.altScreenMode: "never": three turns against the mock; turns 1–2 in tmux history, noESC[?1049halternate-screen offit still repaints the viewport, so nothing reaches the scrollback. Follow-up, not in this PR.Grok and Antigravity were driven through real chat turns with an API key pointed
at
test/otlp_capture/mock.py. Neither has a turn-end or interactive-promptsignature, so the layout change cannot affect detection.
Not in this PR
(
~/.copilot/session-state/<id>/events.jsonl) and asking GitHub for an inline mode.the tmux client is
-rand xterm.js hasdisableStdin, so the wheel neverreaches tmux.
Checks
bin/rails teston the five touched test files (282 runs, 0 failures) and rubocopon the changed files, in the container. The full suite runs in CI.
🤖 Generated with Claude Code