Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in vs code #4267

Closed
3 tasks done
poliii8 opened this issue Nov 11, 2024 · 1 comment
Closed
3 tasks done

Error in vs code #4267

poliii8 opened this issue Nov 11, 2024 · 1 comment

Comments

@poliii8
Copy link

poliii8 commented Nov 11, 2024

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

в System.Console.SetCursorPosition(Int32 left, Int32 top)
   в Microsoft.PowerShell.Internal.VirtualTerminal.set_CursorLeft(Int32 value)
   в Microsoft.PowerShell.PSConsoleReadLine.ReallyRender(RenderData renderData, String defaultColor)
   в Microsoft.PowerShell.PSConsoleReadLine.ForceRender()
   в Microsoft.PowerShell.PSConsoleReadLine.Insert(Char c)
   в Microsoft.PowerShell.PSConsoleReadLine.SelfInsert(Nullable`1 key, Object arg)
   в Microsoft.PowerShell.PSConsoleReadLine.ProcessOneKey(ConsoleKeyInfo key, Dictionary`2 dispatchTable, Boolean ignoreIfNoAction, Object arg)
   в Microsoft.PowerShell.PSConsoleReadLine.InputLoop()
   в Microsoft.PowerShell.PSConsoleReadLine.ReadLine(Runspace runspace, EngineIntrinsics engineIntrinsics)

Screenshot

N/A

Environment data

res = 7*512**3200 + 6*256**3100 - 5*64**3000 - 4*8**2900 - 1542
count = 0
while res:
    if res % 64 == 0:
        count += 1
        res // 25
        print(count)

Steps to reproduce

res = 7512**3200 + 62563100 - 5*643000 - 4*8**2900 - 1542
count = 0
while res:
if res % 64 == 0:
count += 1
res // 25
print(count)

Expected behavior

Numeric response

Actual behavior

erroe

@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Triage 🔍 It's a new issue that core contributor team needs to triage. label Nov 11, 2024
@daxian-dbw
Copy link
Member

You didn't include any environment data, but it's likely you are on an old version of PSReadLine. Please upgrade PSReadLine to the latest v2.3.6 and try again.

@microsoft-github-policy-service microsoft-github-policy-service bot removed the Needs-Triage 🔍 It's a new issue that core contributor team needs to triage. label Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants