Skip to content

exception issue #4280

@architgore050

Description

@architgore050

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/Izybkr/PSReadLine/issues/new
Last 4 Keys:
& Space C:
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: left
Actual value was -2.
at System.Console.SetCursorPosition (Int32 left, Int32 top)
at Microsoft.PowerShell.Internal.Virtual Terminal.set_CursorLeft(Int32 value)
at Microsoft.PowerShell.PSConsoleReadLine.ReallyRender (RenderData renderData, String defaultcolor)
at Microsoft.PowerShell.PSConsoleReadLine.ForceRender()
at Microsoft.PowerShell.PSConsoleReadLine.Insert(Char c)
at Microsoft.PowerShell.PSConsoleReadLine. SelfInsert (Nullable 1 key, Object arg)
at Microsoft.PowerShell.PSConsoleReadLine.ProcessOneKey(ConsoleKey Info key, Dictionary 2 dispatchTable, Boolean ignoreIfNoAction, Object arg)
at Microsoft.PowerShell.PSConsoleReadLine.InputLoop()
at Microsoft.PowerShell.PSConsoleReadLine.ReadLine(Runspace runspace, EngineIntrinsics engineIntrinsics)

Screenshot

N/A

Environment data

Im a new programmer. I don't know what this data is that it is asking me for here

Steps to reproduce

I don't know what the issue is, it just happens every time I run any code of any sort

Expected behavior

everything works as normal and the code gives the output

Actual behavior

the code still gives the output and everything is running completely fine, or maybe I just haven't run into any issue yet. But otherwise the issue still shows up, but otherwise I haven't noticed it affecting anything in the functioning.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions