### Prerequisites - [x] Write a descriptive title. - [x] Make sure you are able to repro it on the [latest released version](https://www.powershellgallery.com/packages/PSReadLine) - [x] Search the existing issues, especially the pinned issues. ### Exception report ```console 在vscode中,运行ifow插件时,出现异常提示 ``` ### Screenshot 异常: System.ArgumentOutOfRangeException : 该值必须大于或等于零,且必须小于 控制台缓冲区在该维度的大小。 参数名: left 实际值是 -1。 在 System.Console.SetCursorPosi tion(Int32 left, Int32 top) 在 Microsoft.PowerShell.Interna l.VirtualTerminal.set_CursorLeft(I nt32 value) 在 Microsoft.PowerShell.PSConso leReadLine.ReallyRender(RenderData renderData, String defaultColor) 在 Microsoft.PowerShell.PSConso leReadLine.ForceRender() 在 Microsoft.PowerShell.PSConso leReadLine.Insert(Char c) 在 Microsoft.PowerShell.PSConso leReadLine.SelfInsert(Nullable`1 k ey, Object arg) 在 Microsoft.PowerShell.PSConso leReadLine.ProcessOneKey(ConsoleKe yInfo key, Dictionary`2 dispatchTa ble, Boolean ignoreIfNoAction, Obj ect arg) 在 Microsoft.PowerShell.PSConso leReadLine.InputLoop() 在 Microsoft.PowerShell.PSConso leReadLine.ReadLine(Runspace runsp ace, EngineIntrinsics engineIntrin sics) ---------------------------------- ---------------------------------- --- ### Environment data ```console 文件说明 Windows PowerShell 类型 应用程序 文件版本 10.0.17763.1 产品名称 Microsof® Windows® Operating System 产品版本 10.0.17763.1 版权 © Microsoft Corporation. All rights reserved. 大小 437 KB 修改日期 2018-09-15 15:14 语言 中文(简体,中国) 原始文件名 Powershell.EXE OS Name: Windows Server 2019 OS Version: 10.0 Architecture: amd64 ``` ### Steps to reproduce 1、启动vscode中, 2、启动ifow插件时 3、出现异常提示 ### Expected behavior 直接进入iflow操作界面 ### Actual behavior 出现异常提示
Activity
daxian-dbw commentedon Jan 12, 2026
It's likely you are using a very old version of PSReadLine module. Please try upgrading to the latest v2.4.5 version of PSReadLine. See https://github.com/PowerShell/PSReadLine?tab=readme-ov-file#installation-and-upgrading for instructions.