You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Search the existing issues, especially the pinned issues.
Exception report
I encountered an ArgumentOutOfRangeException while working in PowerShell when creating multiple directories and using the backspace key. The error occurred after navigating through the command history and trying to delete characters.mkdir Media >> cd Media >> mkdir MailAI_Agent>> cd MailAI_Agent>> mkdir witness_documents>> mkdir process_documents>> cd process_documents>> mkdir mailai_agent_process_emails>> cd mailai_agent_process_emails>> mkdir witness_documents>> mkdir process_documents>>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: topActual value was -1. at System.Console.SetCursorPosition(Int32 left, Int32 top) at Microsoft.PowerShell.PSConsoleReadLine.ReallyRender(RenderData renderData, String defaultColor) at Microsoft.PowerShell.PSConsoleReadLine.ForceRender() at Microsoft.PowerShell.PSConsoleReadLine.BackwardDeleteChar(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)-----------------------------------------------------------------------Major Minor Build Revision----- ----- ----- --------5 1 19041 5607
mkdir Media
cd Media
mkdir MailAI_Agent
cd MailAI_Agent
mkdir witness_documents
mkdir process_documents
cd process_documents
mkdir mailai_agent_process_emails
cd mailai_agent_process_emails
mkdir witness_documents
mkdir process_documents
Expected behavior
The backspace should delete characters without causing any exceptions, and the PowerShell console should function normally without errors.
Actual behavior
The exception System.ArgumentOutOfRangeException occurs, which stops the normal function of the PowerShell console and interrupts the workflow.
The text was updated successfully, but these errors were encountered:
Prerequisites
Exception report
Screenshot
Environment data
Steps to reproduce
mkdir Media
cd Media
mkdir MailAI_Agent
cd MailAI_Agent
mkdir witness_documents
mkdir process_documents
cd process_documents
mkdir mailai_agent_process_emails
cd mailai_agent_process_emails
mkdir witness_documents
mkdir process_documents
Expected behavior
The backspace should delete characters without causing any exceptions, and the PowerShell console should function normally without errors.
Actual behavior
The exception System.ArgumentOutOfRangeException occurs, which stops the normal function of the PowerShell console and interrupts the workflow.
The text was updated successfully, but these errors were encountered: