Skip to content

rhtuh #4728

@Aryan24-bit

Description

@Aryan24-bit

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

PS C:\Users\COMPUTER\Desktop\java creations>
cd
Oops, something went wrong.  Please report this bug with the details below.
Report on GitHub: https://github.com/lzybkr/PSReadLine/issues/new
-----------------------------------------------------------------------
Last 90 Keys:
 c d Space " c : \ U s e r s \ C O M P U T E R \ D e s k t o p \ j a v a Space c r e a t i o n s \ " Space ; Space i f Space ( $ ? ) Space { Space j a v a c Space P r o d u c t R e v e n u e C a l c u l a t o r .

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.VirtualTerminal.set_CursorLeft(Int32 value)
   at Microsoft.PowerShell.PSConsoleReadLine.ReallyRender(RenderData renderData, String de   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, Object arg)
   at Microsoft.PowerShell.PSConsoleReadLine.InputLoop()
   at Microsoft.PowerShell.PSConsoleReadLine.ReadLine(Runspace runspace, EngineIntrinsics 
engineIntrinsics)
-----------------------------------------------------------------------
PS C:\Users\COMPUTER\Desktop\java creations> cd "c:\Users\COMPUTER\Desktop\java creations\" ; if ($?) { javac ProductRevenueCalculator.java } ; if ($?) { java ProductRevenueCalculator }
PRODUCT REVENUE CALCULATOR
--------------------------
Enter product price per unit:

Screenshot

mgfy

Environment data

gerg

Steps to reproduce

srg

Expected behavior

rgerg

Actual behavior

rge

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