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

Bug #3873

Closed
3 tasks done
edisonpowell opened this issue Nov 20, 2023 · 2 comments
Closed
3 tasks done

Bug #3873

edisonpowell opened this issue Nov 20, 2023 · 2 comments
Labels
Needs-Author Feedback Needs-Triage 🔍 It's a new issue that core contributor team needs to triage.

Comments

@edisonpowell
Copy link

edisonpowell commented Nov 20, 2023

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

Oops, something went wrong.  Please report this bug with the details below.
Report on GitHub: https://github.com/PowerShell/PSReadLine/issues/new
### Environment
PSReadLine: 2.0.0
PowerShell: 5.1.22621.2506
OS: Microsoft Windows 10.0.22621
Last 200 Keys

 i t c h f o r k % 2 0 % 2 8 O r i g i n a l % 2 9 . m p 4 ? e x p i r e s = 1 7 0 0 4 6 9 5 0 2 & l o c = e x t e r n a l & s e s s i o n _ i d = 1 1 b 4 5 7 7 7 8 6 f 9 9 f c 5 1 4 2 7 9 8 d 5 8 7 a e 4 6 5 c 9 5 6 8 e b a 2 1 7 0 0 3 8 2 9 8 2 & s i g n a t u r e = 7 4 a 4 1 4 e b 3 d 1 2 c a 5 f 7 0 4 8 7 3 8 9 a 5 e c 2 0 7 0 b 7 8 2 f 4 5 d c 9 3 e 6 4 2 8 5 1 1 0 a 8 5 5 9 b c d 1 2 9 3 Ctrl+a ,

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 28.
   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.Replace(Int32 start, Int32 length, String replacement, Action`2 instigator, Object instigatorArg)
   at Microsoft.PowerShell.PSConsoleReadLine.SelfInsert(Nullable`1 key, Object arg)
   at Microsoft.PowerShell.PSConsoleReadLine.ProcessOneKey(PSKeyInfo key, Dictionary`2 dispatchTable, Boolean ignoreIfNoAction, Object arg)
   at Microsoft.PowerShell.PSConsoleReadLine.InputLoop()
   at Microsoft.PowerShell.PSConsoleReadLine.ReadLine(Runspace runspace, EngineIntrinsics engineIntrinsics, CancellationToken cancellationToken)


### Screenshot

11/19/2023 8:22 PM, i dont have screenshot

### Environment data

```console
PS Version: 5.1.22621.2506
PS HostName: ConsoleHost (Windows Terminal)
PSReadLine Version: 2.0.0
PSReadLine EditMode: Windows
OS: 10.0.22621.1 (WinBuild.160101.0800)
BufferWidth: 120
BufferHeight: 30

Steps to reproduce

Ctrl + A and press the wrong button

Expected behavior

Tried to del something

Actual behavior

IDK

@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 Nov 20, 2023
@StevenBucher98
Copy link
Collaborator

Looks like you are on an older version of PSReadLine, please update to the latest stable 2.3.4 and see if the bug persists.

Copy link
Contributor

This issue is closed because it has been marked as requiring author feedback but has not had any activity for 7 days. If you think the issue is still relevant, please reopen and provide your feedback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs-Author Feedback Needs-Triage 🔍 It's a new issue that core contributor team needs to triage.
Projects
None yet
Development

No branches or pull requests

2 participants