New REPL: Text display corruption when resizing terminal with multi-line content
未關閉
還沒有人認領這個 Issue。
stdlib
topic-repl
type-bug
- 主要語言
- Python
- 星號
- 77.2k
- 分支
- 35.9k
- PR 合併指標
- PR 指標待擷取
描述
Bug report
Bug description:
When the REPL is displaying long content that wraps across multiple lines, resizing the terminal window (either making it larger or smaller) causes text to display incorrectly. The line continuation markers become misaligned, and parts of the output text overlap or display in unexpected positions.
Using Ctrl+'+' to zoom in
Using Ctrl+'-' to zoom out
CPython versions tested on:
CPython main branch
Operating systems tested on:
Linux
Linked PRs
- gh-132313
- gh-132360
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
首先查看連結的 PR gh-132313 和 gh-132360,因為 issue 表示工作已移至那裡。在 Linux 上顯示長的換行內容時調整終端機大小,以在 New REPL 中重現損壞情況,然後將行為與這些 PR 進行比較。完成的標準是調整大小後,續行標記和換行文字仍保持正確對齊。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- python
- 領域
- cli
- Issue 類型
- 缺陷
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 20/100