-
Notifications
You must be signed in to change notification settings - Fork 319
Closed
Description
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
Oops, something went wrong. Please report this bug with the details below.
Report on GitHub: https://github.com/lzybkr/PSReadLine/issues/new
-----------------------------------------------------------------------
Last 1 Keys:
Ctrl+v
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: top
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.Paste(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:\xampp\htdocs\gacuba web> /PHPMailer/src/
/PHPMailer/src/ : The term '/PHPMailer/src/' is not recognized as the name of a cmdlet, function, script file, or operable program. Check
the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ /PHPMailer/src/
+ ~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (/PHPMailer/src/:String) [], CommandNotFoundException
PS C:\xampp\htdocs\gacuba web> cd/PHPMailer/src
cd/PHPMailer/src : The term 'cd/PHPMailer/src' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ cd/PHPMailer/src
+ ~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (cd/PHPMailer/src:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\xampp\htdocs\gacuba web> /PHPMailer/src/
/PHPMailer/src/ : The term '/PHPMailer/src/' is not recognized as the name of a cmdlet, function, script file, or operable program. Check
the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ /PHPMailer/src/
+ ~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (/PHPMailer/src/:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\xampp\htdocs\gacuba web>
Screenshot
please make it
Environment data
& {
$hostName = $Host.Name
if ($hostName -eq "ConsoleHost" -and (Get-Command Get-CimInstance -ErrorAction SilentlyContinue)) {
$id = $PID; $inWindowsTerminal = $false
while ($true) {
$p = Get-CimInstance -ClassName Win32_Process -Filter "ProcessId Like $id"
if (!$p -or !$p.Name) { break }
if ($p.Name -eq "WindowsTerminal.exe") { $inWindowsTerminal = $true; break }
$id = $p.ParentProcessId
}
if ($inWindowsTerminal) { $hostName += " (Windows Terminal)" }
}
$m = Get-Module PSReadline
$v = $m.Version; $pre = $m.PrivateData.PSData.Prerelease
if ($pre) { $v = "$v-$pre" }
$os = if ($IsLinux -or $IsMacOS) { uname -a } else { (dir $env:SystemRoot\System32\cmd.exe).VersionInfo.FileVersion }
Write-Host ''
Write-Host "PS Version: $($PSVersionTable.PSVersion)"
Write-Host "PS HostName: $hostName"
Write-Host "PSReadLine Version: $v"
Write-Host "PSReadLine EditMode: $((Get-PSReadLineOption).EditMode)"
Write-Host "OS: $os"
Write-Host "BufferWidth: $([console]::BufferWidth)"
Write-Host "BufferHeight: $([console]::BufferHeight)"
Write-Host ''
}
Steps to reproduce
be aware
Expected behavior
nothing
Actual behavior
all
Metadata
Metadata
Assignees
Labels
No labels