Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

调试的时候遇到的,按F5就出现了 #3942

Closed
3 tasks done
5m1le71ger opened this issue Feb 10, 2024 · 2 comments
Closed
3 tasks done

调试的时候遇到的,按F5就出现了 #3942

5m1le71ger opened this issue Feb 10, 2024 · 2 comments

Comments

@5m1le71ger
Copy link

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

哎呀,出现问题。请在报告此 Bug 时添加以下详细信息。
在 GitHub 上报告: https://github.com/lzybkr/PSReadLine/issues/new
-----------------------------------------------------------------------
上 200 个密钥:
 h o n 3 1 1 \ p y t h o n . e x e ' Space ' c : \ U s e r s \ A S U S \ . v s c o d e \ e x t e n s i o n s \ m s - p y t h o n . d e b u g p y - 2 0 2 4 
. 0 . 0 - w i n 3 2 - x 6 4 \ b u n d l e d \ l i b s \ d e b u g p y \ a d a p t e r / . . / . . \ d e b u g p y \ l a u n c h e r ' Space ' 1 0 3 1 6 ' Space ' - - ' Space ' E : \ m y w o r k \ 砖 了 个 砖 \ b r i c k e d - a - b r i c k \ 格 子 截 图 工 具 . p y ' Space Enter


异常:
System.ArgumentOutOfRangeException: 该值必须大于或等于零,且必须小于控制台缓冲区在该维度的大小。
参数名: top
实际值是 -1。
   在 System.Console.SetCursorPosition(Int32 left, Int32 top)
   在 Microsoft.PowerShell.PSConsoleReadLine.ReallyRender(RenderData renderData, String defaultColor)
   在 Microsoft.PowerShell.PSConsoleReadLine.ForceRender()
   在 Microsoft.PowerShell.PSConsoleReadLine.Insert(Char c)
   在 Microsoft.PowerShell.PSConsoleReadLine.SelfInsert(Nullable`1 key, Object arg)
   在 Microsoft.PowerShell.PSConsoleReadLine.ProcessOneKey(ConsoleKeyInfo key, Dictionary`2 dispatchTable, Boolean ignoreIfNoAction, Object arg)
   在 Microsoft.PowerShell.PSConsoleReadLine.InputLoop()
   在 Microsoft.PowerShell.PSConsoleReadLine.ReadLine(Runspace runspace, EngineIntrinsics engineIntrinsics)
-----------------------------------------------------------------------

Screenshot

无标题

Environment data

PS Version: 5.1.19041.2364
PS HostName: ConsoleHost
PSReadLine Version: 2.0.0-beta2
PSReadLine EditMode: Windows
OS: 10.0.19041.3691 (WinBuild.160101.0800)
BufferWidth: 155
BufferHeight: 38

Steps to reproduce

N/A

Expected behavior

N/A

Actual behavior

N/A

@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Triage 🔍 It's a new issue that core contributor team needs to triage. label Feb 10, 2024
@StevenBucher98
Copy link
Collaborator

Thanks for the issue @5m1le71ger! We are going to need more detailed reproduction steps if we are to better help you resolve this issue, additionally it looks like you are on a pretty old version of PSReadLine so I suggest updating to the latest Install-Module -Name PSReadLine and seeing if the issue still happens.

@StevenBucher98 StevenBucher98 added the Needs-Repro There is no sufficient information on repro steps. label Feb 12, 2024
@daxian-dbw
Copy link
Member

This issue was already fixed (see #1306). Please upgrade to the 2.3.4 version of PSReadLine from PowerShell Gallery.
See the upgrading section for instructions. Please let us know if you run into the same issue with the latest version.

@microsoft-github-policy-service microsoft-github-policy-service bot removed the Needs-Triage 🔍 It's a new issue that core contributor team needs to triage. label Feb 12, 2024
@daxian-dbw daxian-dbw removed the Needs-Repro There is no sufficient information on repro steps. label Feb 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants