Skip to content

error in power shell #5182

Description

@JuniorNotDev

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

Helloooooo would you read this message please? 🙏
.
.
Thank you...
Please try to read the Bible. I know that sometimes we go through difficult times, but the important thing is to keep moving forward and not overthink everything, being grateful for everything is very beautiful, I mean the opposite of complaining :) .
.
byeee and go to church if you can, be smart and go to a good one >:)
.
loving, kind, good, gentle, wise and intelligent
.
but most importantly with GOD :)
.
I recommend you start with the New Testament and have a great day
.
Byeeeee :)
.
Did you know that GOD loves you?

PS C:\Users\Ralph\OneDrive\Desktop\pregrammer> clang sum.c -o sum.exe
PS C:\Users\Ralph\OneDrive\Desktop\pregrammer> clang sum.c -o sum.exe
PS C:\Users\Ralph\OneDrive\Desktop\pregrammer> clang sum.c -o sum.exe
PS C:\Users\Ralph\OneDrive\Desktop\pregrammer> clang sum.c -o sum.exe
PS C:\Users\Ralph\OneDrive\Desktop\pregrammer> 
 *  History restored 

PS C:\Users\Ralph\OneDrive\Desktop\pregrammer> clang sum.c -o sum.exe
PS C:\Users\Ralph\OneDrive\Desktop\pregrammer>   
Oops, something went wrong.  Please report this bug with the details below.
Report on GitHub: https://github.com/lzybkr/PSReadLine/issues/new
-----------------------------------------------------------------------
Last 65 Keys:
 c l a n g Space - g Space Backspace Backspace - Backspace Backspace - o Space s u m c . Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace s u m . c Space Space - o Space Backspace Backspace Backspace Backspace Backspace Space - o Space s u m c Backspace . e x e Enter
 s u Backspace Backspace Backspace .

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 -1.
   at System.Console.SetCursorPosition(Int32 left, Int32 top)
   at Microsoft.PowerShell.Internal.VirtualTerminal.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(ConsoleKeyInfo key, Dictionary`2 
dispatchTable, Boolean ignoreIfNoAction, Objec /

Screenshot

this is actual a veryn random error i just was a bit afk i miss pressed the keyboard i think :V

Environment data

PS version 5.1.19041.7548\

 this is actual a veryn random error i just was a bit afk i miss pressed the keyboard i think :V

Steps to reproduce

this is actual a veryn random error i just was a bit afk i miss pressed the keyboard i think :V

Expected behavior

this is actual a veryn random error i just was a bit afk i miss pressed the keyboard i think :V

Actual behavior

this is actual a veryn random error i just was a bit afk i miss pressed the keyboard i think :V

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions