Oops, something went wrong. Please report this bug with the details below.
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 28/100
- Type d'issue
- Bug
- Clarté
- À clarifier
- Activité
- Calme
- Stack technique
- csharp, powershell
- Domaine
- cli, operating-systems
Piste de recherche
Start with the exception stack trace, especially ReallyRender, ForceRender, and ProcessOneKey. Try reproducing the reported key sequence in PSReadLine 2.0.0 on the stated PowerShell and Windows environment. Done means the same interaction no longer raises ArgumentOutOfRangeException, but the report provides no reliable reproduction or named source file.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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.26100.8115
OS: Microsoft Windows 10.0.26200
Last 200 Keys
UpArrow UpArrow Enter
b u i Tab Tab Tab Tab Escape b u i Tab Tab Tab Enter
UpArrow UpArrow Enter
UpArrow UpArrow UpArrow DownArrow Enter
UpArrow UpArrow Enter
b u i Tab Tab Tab Enter
c o d e _ Tab Tab Enter
b u i Tab b u i Tab Escape b u i Tab Enter
b u i Tab Tab Enter
b u i Tab Enter
b u i Tab Enter
b u i Tab Tab Enter
b u i Tab Tab Tab Enter
c o d e _ Tab Tab Enter
c o d e _ Tab Tab Enter
b u i Tab Tab Tab Enter
r u n Tab Enter
b u i Tab Enter
b u i Tab Tab Enter
r u n Tab Escape r u n Tab Enter
c o d e _ Tab Tab Enter
c o d e _ Tab Tab Enter
UpArrow UpArrow Enter
c o d e _ Tab Tab Enter
c o d e _ Tab Tab Enter
r u n Tab Enter
c o d e _ Tab Tab Enter
c o d e _ Tab Tab Enter
c o d e _ Tab Tab Escape
### 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 57.
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.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
Environment data
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.26100.8115
OS: Microsoft Windows 10.0.26200
Last 200 Keys
UpArrow UpArrow Enter
b u i Tab Tab Tab Tab Escape b u i Tab Tab Tab Enter
UpArrow UpArrow Enter
UpArrow UpArrow UpArrow DownArrow Enter
UpArrow UpArrow Enter
b u i Tab Tab Tab Enter
c o d e _ Tab Tab Enter
b u i Tab b u i Tab Escape b u i Tab Enter
b u i Tab Tab Enter
b u i Tab Enter
b u i Tab Enter
b u i Tab Tab Enter
b u i Tab Tab Tab Enter
c o d e _ Tab Tab Enter
c o d e _ Tab Tab Enter
b u i Tab Tab Tab Enter
r u n Tab Enter
b u i Tab Enter
b u i Tab Tab Enter
r u n Tab Escape r u n Tab Enter
c o d e _ Tab Tab Enter
c o d e _ Tab Tab Enter
UpArrow UpArrow Enter
c o d e _ Tab Tab Enter
c o d e _ Tab Tab Enter
r u n Tab Enter
c o d e _ Tab Tab Enter
c o d e _ Tab Tab Enter
c o d e _ Tab Tab Escape
### 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 57.
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.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)
Steps to reproduce
It happened only once
Expected behavior
It happened only once
Actual behavior
It happened only once
- Langage dominant
- C#
- Étoiles
- 4.4k
- Forks
- 342
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Propose un modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de PowerShell/PSReadLine
-
Needs-Triage :mag:
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
PowerShell/PSReadLine#5205 ·
-
Needs-Triage :mag:
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
PowerShell/PSReadLine#5195 ·
-
Needs-Triage :mag:
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
PowerShell/PSReadLine#5121 ·
-
Needs-Triage :mag:
Difficulté 2/5 1-3 heures Accessibilité débutants 64/100
PowerShell/PSReadLine#5045 ·
-
Area-CommandHelp Issue-Enhancement
Difficulté 1/5 Moins d'une heure Accessibilité débutants 68/100
PowerShell/PSReadLine#3470 · 3 réactions ·
Toutes les issues de PowerShell/PSReadLine
Issues similaires
-
Difficulté 2/5 1-3 heures Accessibilité débutants 84/100
lay295/TwitchDownloader#1675 ·
-
copilot documentation
Difficulté 1/5 Moins d'une heure Accessibilité débutants 88/100
Les mainteneurs répondent en général sous 2 jours
-
Difficulté 2/5 1-3 heures Accessibilité débutants 88/100
space-wizards/RobustToolbox#7119 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 86/100
dotnet/Scaffolding#3881 ·
Les mainteneurs répondent en général sous 2 jours
-
Bug
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
Les mainteneurs répondent en général sous 4 jours