github / github/copilot-cli

--no-alt-screen was silently removed with no replacement — alt-screen is now unavoidable and broken

未关闭
#4,509 0 条评论 3 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

area:terminal-rendering
主要语言
Shell
星标
11.2k
派生
1.9k
平均合并
14 小时 16 分钟
30 天内合并 PR
6

描述

Alt-screen/fullscreen mode is a genuine regression for a lot of us, and it's
been reported since March (#1799, #2334) with no resolution.

What makes this worse: the --no-alt-screen flag that used to let people
opt out has now been removed entirely, with no deprecation notice and no
replacement setting. Running it now just fails:

$ copilot --no-alt-screen
error: unknown option '--no-alt-screen'

I checked /settings for an equivalent key and found nothing that restores
inline/streaming rendering. So as of the current release, there is no
supported way to turn off fullscreen mode at all.

This isn't a nice-to-have. Alt-screen breaks:

  • native terminal scrollback (can't scroll up past the current screen)
  • terminal search (Cmd+F / Ctrl+F can't see history)
  • copy/paste in some terminal emulators
  • usability in tmux/screen and browser-based terminals

Please either:

  1. Restore --no-alt-screen (or an equivalent /settings key), or
  2. Clearly document the replacement if one exists and I'm missing it.

Removing an escape hatch that people were actively relying on, without
warning, is a bad pattern. At minimum this needs a documented workaround.

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

首先复现 copilot --no-alt-screen,并检查 /settings 以了解当前的 alt-screen 控制项。跟踪 CLI 选项和 Settings 入口点,以确定是否存在等效项,或者是否必须恢复该 flag。完成标准是:可以通过受支持且有文档记录的接口禁用 inline 或 streaming 渲染,且不会出现未知选项错误。

由索引模型根据 Issue 内容生成。

评估

技术栈
shell
领域
cli
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
冷清
描述清晰度
基本清楚
新手友好度
48/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。