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
上 200 个密钥: w s \ " Space ; Space i f Space ( $ ? ) Space { Space c l a n g Space Space - g Space # 3 . c Space - o Space # 3 Space } Space ; Space i f Space ( $ ? ) Space { Space . \ # 3 Space } Enter h t t p s : / / g i t h u b . c o m / l z y b k r / P S R e a d L i n e / i s s u e s / n e w h t t p s : / / g i t h u b . c o m / l z y b k r / P S R e a d L i n e / i s s u e s / n e w h t t p s : / / g i t h u b . c o m / l z y b k r / P S R e a d L i n e / i s s u e s / n e w异常:System.ArgumentOutOfRangeException: 该值必须大于或等于零,且必须小于控制台缓冲区在该维度的大小。参数名: top实际值是 -6。 在 System.Console.SetCursorPosition(Int32 left, Int32 top) 在 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
Environment data
no
Steps to reproduce
#include <stdio.h>
int main ()
{
int a,b;
printf("please enter two numbers:\n");
scanf("%d %d",&a,&b);
if(a>b)
printf("%d\n",a);
else
printf("%d\n",b);
return 0;
}
Expected behavior
run the program
Actual behavior
unable to run
The text was updated successfully, but these errors were encountered:
This issue was already fixed (see #1306). Please upgrade to the 2.3.4 version of PSReadLine from PowerShell Gallery.
See the upgrading section for instructions. Please let us know if you run into the same issue with the latest version.
Prerequisites
Exception report
Screenshot
Environment data
no
Steps to reproduce
#include <stdio.h>
int main ()
{
int a,b;
printf("please enter two numbers:\n");
scanf("%d %d",&a,&b);
if(a>b)
printf("%d\n",a);
else
printf("%d\n",b);
return 0;
}
Expected behavior
run the program
Actual behavior
unable to run
The text was updated successfully, but these errors were encountered: