Display problem after Windows Terminal window scrolls with [console]::BufferHeight set larger than [console]::WindowHeight
還沒有人認領這個 Issue。
評估
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 新手友好度
- 35/100
- Issue 類型
- 缺陷
- 描述清晰度
- 基本清楚
- 活躍度
- 停滯
- 技術堆疊
- csharp, powershell
- 領域
- cli, operating-systems
研究方向
No source file or test is named. Start by reproducing the issue in Windows Terminal with PS 7.5.2, PSReadLine 2.3.6, and the stated buffer dimensions, then trace the history-navigation and console-rendering entry points. Done means repeated function expansion and Up-Arrow navigation no longer produce incorrect history display or blank lines.
由索引模型根據 Issue 內容生成。
描述
Prerequisites
- Write a descriptive title.
- Make sure you are able to repro it on the latest released version
- Search the existing issues, especially the pinned issues.
Exception report
N/A
Screenshot
Screenshot showing problem
Environment data
PS Version: 7.5.2
PS HostName: ConsoleHost
PSReadLine Version: 2.3.6
PSReadLine EditMode: Windows
OS: 10.0.26100.1 (WinBuild.160101.0800)
BufferWidth: 180
BufferHeight: 9001
Steps to reproduce
Repeatedly expanding a function and running it...
Paste the function 'alb' into PS. 'alb' commands to run it.
Paste the edited function into PS again. Up-Arrow, Up-Arrow, Enter to run the latest line which runs the function,
(I know, I need to re-write the function to use 'switch', but that wouldn't affect this problem.)
Expected behavior
The first Up-Arrow to display the function. The second should display the previous command, but doesn't. Hit Enter and there are blank lines in the window which shouldn't be there.
Actual behavior
The above behavior is seen.
- 主要語言
- C#
- 星號
- 4.4k
- 分支
- 341
- PR 合併指標
- 30 天內沒有已合併 PR
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
PowerShell/PSReadLine 的其他 Issue
-
Needs-Triage :mag:
難度 2/5 1-3 小時 新手友好度 78/100
PowerShell/PSReadLine#5205 ·
-
Needs-Triage :mag:
難度 2/5 1-3 小時 新手友好度 68/100
PowerShell/PSReadLine#5195 ·
-
Needs-Triage :mag:
難度 2/5 1-3 小時 新手友好度 72/100
PowerShell/PSReadLine#5121 ·
-
Needs-Triage :mag:
難度 2/5 1-3 小時 新手友好度 64/100
PowerShell/PSReadLine#5045 ·
-
Area-CommandHelp Issue-Enhancement
難度 1/5 1 小時以內 新手友好度 68/100
PowerShell/PSReadLine#3470 · 3 個 reaction ·
查看 PowerShell/PSReadLine 的全部 Issue
相似的 Issue
-
bug
難度 2/5 1-3 小時 新手友好度 75/100
nightscout/nocturne#1425 ·
-
難度 2/5 1-3 小時 新手友好度 70/100
RayWangQvQ/BiliBiliToolPro#1137 ·
-
難度 2/5 1-3 小時 新手友好度 65/100
-
難度 2/5 1-3 小時 新手友好度 75/100
-
難度 2/5 1-3 小時 新手友好度 70/100