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

I'm being said by the error to immediately report this bug #4143

Closed
3 tasks done
HP8585 opened this issue Aug 27, 2024 · 2 comments
Closed
3 tasks done

I'm being said by the error to immediately report this bug #4143

HP8585 opened this issue Aug 27, 2024 · 2 comments

Comments

@HP8585
Copy link

HP8585 commented Aug 27, 2024

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

PS C:\Users\BEHCOMP\Desktop\nodeJS\chatApp2\client>
Oops, something went wrong.  Please report this bug with the details below.      
Report on GitHub: https://github.com/lzybkr/PSReadLine/issues/new
-----------------------------------------------------------------------
Last 123 Keys:
 m k d i r Space c l i e n t Enter
 c l s Enter
 m k d i r Space s e r v e r Enter
 c l s Enter
 c d Space c l i e n t Enter
 \ Backspace n p x Space n u x i @ ; Backspace l a t e s t Space i n i t Space . 
/ Enter
 c l s Enter
 n p m Space i n Backspace Space q u e r y - s t r i n g Space s o c k e t . i o 
= c Backspace Backspace - c l i e n t Enter
 c l s Enter
 Ctrl+v
Exception:
System.ArgumentOutOfRangeException: The value must be greater than or equal to zero and less than the console's buffer size in that dimension.
Parameter name: top
Actual value was -1.
   at System.Console.SetCursorPosition(Int32 left, Int32 top)
   at Microsoft.PowerShell.PSConsoleReadLine.ReallyRender(RenderData renderData, String defaultColor)
   at Microsoft.PowerShell.PSConsoleReadLine.ForceRender()
   at Microsoft.PowerShell.PSConsoleReadLine.Paste(Nullable`1 key, Object arg)
   at Microsoft.PowerShell.PSConsoleReadLine.ProcessOneKey(ConsoleKeyInfo key, Dictionary`2 dispatchTable, Boolean ignoreIfNoAction, Object arg)
   at Microsoft.PowerShell.PSConsoleReadLine.InputLoop()
   at Microsoft.PowerShell.PSConsoleReadLine.ReadLine(Runspace runspace, EngineIntrinsics engineIntrinsics)
-----------------------------------------------------------------------

Screenshot

Uploading Screenshot (273).png…

Environment data

I donno any of these things just wanted to report what you wanted me to                                                                             wwwwwwwwwwwwwwwwwwwwwwwwwwwwww   wwwwwwwwwwwwwwwwwwwwwwwww qwdqwdddddddddddddddddddddddddddddddddddddddddddd qweeeeeeeeeeeeeeeeeeeeeee qwedfdfdfdfdfdfdfdfdfdfdfdfdfdfdfwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww

Steps to reproduce

i was just working with the terminal of Visual Studio code and got this err

Expected behavior

I just wanted to paste a piece of command that I faced this

Actual behavior

PS C:\Users\BEHCOMP\Desktop\nodeJS\chatApp2\client>
Oops, something went wrong. Please report this bug with the details below.
Report on GitHub: https://github.com/lzybkr/PSReadLine/issues/new

Last 123 Keys:
m k d i r Space c l i e n t Enter
c l s Enter
m k d i r Space s e r v e r Enter
c l s Enter
c d Space c l i e n t Enter
\ Backspace n p x Space n u x i @ ; Backspace l a t e s t Space i n i t Space .
/ Enter
c l s Enter
n p m Space i n Backspace Space q u e r y - s t r i n g Space s o c k e t . i o
= c Backspace Backspace - c l i e n t Enter
c l s Enter
Ctrl+v
Exception:
System.ArgumentOutOfRangeException: The value must be greater than or equal to zero and less than the console's buffer size in that dimension.
Parameter name: top
Actual value was -1.
at System.Console.SetCursorPosition(Int32 left, Int32 top)
at Microsoft.PowerShell.PSConsoleReadLine.ReallyRender(RenderData renderData, String defaultColor)
at Microsoft.PowerShell.PSConsoleReadLine.ForceRender()
at Microsoft.PowerShell.PSConsoleReadLine.Paste(Nullable1 key, Object arg) at Microsoft.PowerShell.PSConsoleReadLine.ProcessOneKey(ConsoleKeyInfo key, Dictionary2 dispatchTable, Boolean ignoreIfNoAction, Object arg)
at Microsoft.PowerShell.PSConsoleReadLine.InputLoop()
at Microsoft.PowerShell.PSConsoleReadLine.ReadLine(Runspace runspace, EngineIntrinsics engineIntrinsics)

@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 Aug 27, 2024
Copy link

This issue was already fixed (see #1306). Please upgrade to the 2.3.5 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 Aug 27, 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

2 participants
@HP8585 and others