Skip to content

Vs code Bug #4933

@AtulyaChakraborty

Description

@AtulyaChakraborty

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

Last 156 Keys:
 & Space C : / U s e r s / A V I J I T / A p p D a t a / L o c a l / M i c r o 
s o f t / W i n d o w s A p p s / p y t h o n 3 . 1 3 . e x e Space " c : / U s e r s / A V I J I T / O n e D r i v e / D e s k t o p / C o d e Space L a n g 
u a g e s / P y t h o n / P y t h o n ( v s c o d e ) / F i l e s / M a i n . p y " Enter
 &

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, Object arg)
   at Microsoft.PowerShell.PSConsoleReadLine.InputLoop()
   at Microsoft.PowerShell.PSConsoleReadLine.ReadLine(Runspace runspace, EngineIntrinsics engineIntrinsics)

Screenshot

N/A

Environment data

def ctof():
    c=int(input("Enter Temperature in celsius:"))
    f=((9/5)*c)+32
    print(f)
ctof()

Steps to reproduce

Just run the Code

Expected behavior

To run smoothly

Actual behavior

Terminal shows to report it to github

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