PSReadLine crash on paste — ArgumentOutOfRangeException (top = -10)

Open
#5,200 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
48/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
csharp
Domain
cli

Research direction

Reproduce the crash in PowerShell by following the double-paste steps, then inspect the supplied Gist for the ArgumentOutOfRangeException details; the placeholder URL is not available here. Trace the paste path in PSReadLine and verify that repeating Ctrl+V no longer crashes with a negative top value.

Written by the indexing model from the issue text.

Description

Needs-Triage :mag:

Описание
При вставке в PowerShell (Ctrl+V дважды) PSReadLine падает.

Gist: {GIST_URL}

Шаги для воспроизведения

  1. Открыть PowerShell.
  2. Вставить (Ctrl+V Ctrl+V).
  3. Увидеть исключение
Dominant language
C#
Stars
4.4k
Forks
341
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from PowerShell/PSReadLine

All issues in PowerShell/PSReadLine

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.